Enable DT Overlays on common boards with expansion options
Enable Device Tree Overlays for a number of boards with widely available expanion options such as HATs/Capes/DIPs/mezzanine.
PATCH 1/4 Raspberry Pi: add device tree overlay support
Raspberry Pi has numerous HAT and other HW expansion options such as screens and cameras some of which need overlays from the beginning so it makes sense to enable evice tree overlays.
--- configs/rpi_2_defconfig | 2 ++ configs/rpi_3_32b_defconfig | 2 ++ configs/rpi_3_defconfig | 2 ++ configs/rpi_defconfig | 2 ++ 4 files changed, 8 insertions(+)
configs/rpi_2_defconfig +2 -0
@@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/rpi_3_32b_defconfig +2 -0
@@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/rpi_3_defconfig +2 -0
@@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/rpi_defconfig +2 -0
@@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.13.0
PATCH 1/4 Raspberry Pi: add device tree overlay support
Quoted 17 lines · Peter Robinson
Raspberry Pi has numerous HAT and other HW expansion options such as screens and cameras some of which need overlays from the beginning so it makes sense to enable evice tree overlays.
Signed-off-by Peter Robinson <[email protected]>--- configs/rpi_2_defconfig | 2 ++ configs/rpi_3_32b_defconfig | 2 ++ configs/rpi_3_defconfig | 2 ++ configs/rpi_defconfig | 2 ++ 4 files changed, 8 insertions(+)configs/rpi_2_defconfig +0
-0
configs/rpi_2_defconfig CONFIG_DM_VIDEO=y · line 28
Quoted 4 lines
configs/rpi_2_defconfig +1
-0@@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y
OF_LIBFDT=y is default for ARCH_BCM283X.
configs/rpi_3_32b_defconfig CONFIG_DM_VIDEO=y · line 30
Quoted 10 lines
configs/rpi_2_defconfig +1
-0+CONFIG_OF_LIBFDT_OVERLAY=yconfigs/rpi_3_32b_defconfig +1
-0@@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y
see above
configs/rpi_3_defconfig CONFIG_DM_VIDEO=y · line 30
Quoted 10 lines
configs/rpi_3_32b_defconfig +1
-0+CONFIG_OF_LIBFDT_OVERLAY=yconfigs/rpi_3_defconfig +1
-0@@ -27,3 +27,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y
see above
configs/rpi_defconfig CONFIG_DM_VIDEO=y · line 28
Quoted 10 lines
configs/rpi_3_defconfig +1
-0+CONFIG_OF_LIBFDT_OVERLAY=yconfigs/rpi_defconfig +1
-0@@ -25,3 +25,5 @@ CONFIG_DM_VIDEO=y CONFIG_SYS_WHITE_ON_BLACK=y CONFIG_CONSOLE_SCROLL_LINES=10 CONFIG_PHYS_TO_BUS=y +CONFIG_OF_LIBFDT=y
see above
configs/rpi_defconfig CONFIG_DM_VIDEO=y · line 29
Quoted 2 lines
configs/rpi_defconfig +1
-0+CONFIG_OF_LIBFDT_OVERLAY=y
Regards
Heinrich Schuchardt
PATCH 1/4 Raspberry Pi: add device tree overlay support
In reply to Peter RobinsonQuoted 5 lines · Peter Robinson
Raspberry Pi has numerous HAT and other HW expansion options such as screens and cameras some of which need overlays from the beginning so it makes sense to enable evice tree overlays.
Signed-off-by Peter Robinson <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/1f607f6c/attachment.sig>
PATCH 2/4 am335x: beagle/evm: add device tree overlay support
In reply to Peter RobinsonTI am33xx devices such as the BeagleBone devices have numerous cape options such as screens some of which need overlays from the beginning so it makes sense to enable evice tree overlays.
--- configs/am335x_boneblack_defconfig | 1 + configs/am335x_evm_defconfig | 2 ++ configs/am335x_evm_nor_defconfig | 1 + configs/am335x_evm_norboot_defconfig | 1 + configs/am335x_evm_spiboot_defconfig | 1 + configs/am335x_evm_usbspl_defconfig | 1 + 6 files changed, 7 insertions(+)
configs/am335x_boneblack_defconfig +1 -0
@@ -37,3 +37,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/am335x_evm_defconfig +2 -0
@@ -46,3 +46,5 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_RSA=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/am335x_evm_nor_defconfig +1 -0
@@ -45,3 +45,4 @@ CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_FAT_WRITE=y CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/am335x_evm_norboot_defconfig +1 -0
@@ -29,3 +29,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/am335x_evm_spiboot_defconfig +1 -0
@@ -34,3 +34,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/am335x_evm_usbspl_defconfig +1 -0
@@ -37,3 +37,4 @@ CONFIG_G_DNL_MANUFACTURER="Texas Instruments" CONFIG_G_DNL_VENDOR_NUM=0x0451 CONFIG_G_DNL_PRODUCT_NUM=0xd022 CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.13.0
PATCH 2/4 am335x: beagle/evm: add device tree overlay support
Quoted 5 lines · Peter Robinson
TI am33xx devices such as the BeagleBone devices have numerous cape options such as screens some of which need overlays from the beginning so it makes sense to enable evice tree overlays.
Signed-off-by Peter Robinson <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/7aea98d9/attachment.sig>
PATCH 3/4 96boards: dragonboard/hikey: add device tree overlay support
In reply to Peter Robinson96boards CE devices such as the DragonBoard and Hikey devices have numerous mezzanine options some of which need overlays from the beginning so it makes sense to enable device tree overlays.
--- configs/dragonboard410c_defconfig | 2 ++ configs/hikey_defconfig | 2 ++ 2 files changed, 4 insertions(+)
configs/dragonboard410c_defconfig +2 -0
@@ -37,3 +37,5 @@ CONFIG_USB_EHCI_MSM=y CONFIG_USB_ULPI_VIEWPORT=y CONFIG_USB_ULPI=y CONFIG_USB_STORAGE=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/hikey_defconfig +2 -0
@@ -17,3 +17,5 @@ CONFIG_MMC_DW_K3=y CONFIG_USB=y CONFIG_USB_STORAGE=y CONFIG_FAT_WRITE=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.13.0
PATCH 3/4 96boards: dragonboard/hikey: add device tree overlay support
Quoted 5 lines · Peter Robinson
96boards CE devices such as the DragonBoard and Hikey devices have numerous mezzanine options some of which need overlays from the beginning so it makes sense to enable device tree overlays.
Signed-off-by Peter Robinson <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/547b7b70/attachment.sig>
PATCH 4/4 CHIP: add device tree overlay support
In reply to Peter RobinsonCHIP and CHIP Pro devices have options of DIP addon boards some of which need overlays from the beginning so it makes sense to enable device tree overlays.
--- configs/CHIP_defconfig | 2 ++ configs/CHIP_pro_defconfig | 2 ++ 2 files changed, 4 insertions(+)
configs/CHIP_defconfig +2 -0
@@ -24,3 +24,5 @@ CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_G_DNL_MANUFACTURER="Allwinner Technology" CONFIG_G_DNL_VENDOR_NUM=0x1f3a CONFIG_G_DNL_PRODUCT_NUM=0x1010 +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
configs/CHIP_pro_defconfig +2 -0
@@ -30,3 +30,5 @@ CONFIG_USB_GADGET_DOWNLOAD=y CONFIG_G_DNL_MANUFACTURER="Allwinner Technology" CONFIG_G_DNL_VENDOR_NUM=0x1f3a CONFIG_G_DNL_PRODUCT_NUM=0x1010 +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.13.0
PATCH 4/4 CHIP: add device tree overlay support
Quoted 4 lines · Peter Robinson
CHIP and CHIP Pro devices have options of DIP addon boards some of which need overlays from the beginning so it makes sense to enable device tree overlays.
Signed-off-by Peter Robinson <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/ffb78cd2/attachment.sig>
PATCH 1/1 configs: Odroid C2: enable device tree overlays
In reply to Peter RobinsonThe Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays.
--- configs/odroid-c2_defconfig | 2 ++ 1 file changed, 2 insertions(+)
configs/odroid-c2_defconfig +2 -0
@@ -28,3 +28,5 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART_ANNOUNCE=y CONFIG_DEBUG_UART_SKIP_INIT=y CONFIG_MESON_SERIAL=y +CONFIG_OF_LIBFDT=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.11.0
PATCH v2 1/1 configs: Odroid C2: enable device tree overlays
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays.
---
v2:
remove unnecessary CONFIG_OF_LIBFDT=y
--- configs/odroid-c2_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/odroid-c2_defconfig +1 -0
@@ -28,3 +28,4 @@ CONFIG_DEBUG_UART_CLOCK=24000000 CONFIG_DEBUG_UART_ANNOUNCE=y CONFIG_DEBUG_UART_SKIP_INIT=y CONFIG_MESON_SERIAL=y +CONFIG_OF_LIBFDT_OVERLAY=y
Signature · 1 line
2.11.0
PATCH v2 1/1 configs: Odroid C2: enable device tree overlays
Quoted 5 lines · Heinrich Schuchardt
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays.
Signed-off-by Heinrich Schuchardt <[email protected]>
I'm going to re-sync all defconfigs with -rc3, so this isn't necessary, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170629/96fb6d92/attachment.sig>
PATCH v2 1/1 configs: Odroid C2: enable device tree overlays
Quoted 10 lines · Tom Rini
Quoted 5 lines · Heinrich Schuchardt
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays.
Signed-off-by Heinrich Schuchardt <[email protected]>I'm going to re-sync all defconfigs with -rc3, so this isn't necessary, thanks!
Erp, derp, I mis-read the context, sorry, disregard my comment, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170629/85e99f48/attachment.sig>
PATCH v2 1/1 configs: Odroid C2: enable device tree overlays
In reply to Heinrich SchuchardtQuoted 5 lines · xypron.glpk at gmx.de
The Odroid C2 comes with several expansion options such as an RTC module. As these expansions are not considered in the Linux device tree they have to be enabled via device tree overlays.
Signed-off-by Heinrich Schuchardt <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170707/6d8c3aae/attachment.sig>