Skip to contentSkip to conversation

rockchip: px30-firefly add standalone dts

PATCH New Kever Yang 1 participant 1 message Dec 13, 2019 Arm (32-bit)

lore
Share & tools
lore

Kever Yang

author
#0 lore raw

PATCH 1/1 rockchip: px30-firefly add standalone dts

Firefly Core-PX30-JD4 use UART2M1 while PX30 evb using UART2M0, the U-Boot proper will use the dts setting to do the IOMUX init, and a separate dts is needed for px30-firefly.

---

 arch/arm/dts/Makefile                 |   3 +-
 arch/arm/dts/px30-firefly-u-boot.dtsi |  84 ++++
 arch/arm/dts/px30-firefly.dts         | 531 ++++++++++++++++++++++++++
 configs/firefly-px30_defconfig        |   4 +-
 4 files changed, 619 insertions(+), 3 deletions(-)
 create mode 100644 arch/arm/dts/px30-firefly-u-boot.dtsi
 create mode 100644 arch/arm/dts/px30-firefly.dts
arch/arm/dts/Makefile +2 -1
index 3dc9c4d41c..68cad331d8 100644
@@ -68,7 +68,8 @@ dtb-$(CONFIG_ARCH_OWL) += \
 	bubblegum_96.dtb
 
 dtb-$(CONFIG_ROCKCHIP_PX30) += \
-	px30-evb.dtb
+	px30-evb.dtb \
+	px30-firefly.dtb
 
 dtb-$(CONFIG_ROCKCHIP_RK3036) += \
 	rk3036-sdk.dtb
arch/arm/dts/px30-firefly-u-boot.dtsi new file +84 -0

84 lines not on this page · raw message

arch/arm/dts/px30-firefly.dts new file +531 -0

531 lines not on this page · raw message

configs/firefly-px30_defconfig +2 -2
index 5171bf82ee..e24f1cf8c8 100644
@@ -20,7 +20,7 @@ CONFIG_FIT=y
 CONFIG_FIT_VERBOSE=y
 CONFIG_SPL_LOAD_FIT=y
 # CONFIG_CONSOLE_MUX is not set
-CONFIG_DEFAULT_FDT_FILE="rockchip/px30-evb.dtb"
+CONFIG_DEFAULT_FDT_FILE="rockchip/px30-firefly.dtb"
 CONFIG_MISC_INIT_R=y
 # CONFIG_DISPLAY_CPUINFO is not set
 CONFIG_DISPLAY_BOARDINFO_LATE=y
@@ -53,7 +53,7 @@ CONFIG_CMD_USB_MASS_STORAGE=y
 CONFIG_EFI_PARTITION_ENTRIES_NUMBERS=64
 CONFIG_SPL_OF_CONTROL=y
 CONFIG_OF_LIVE=y
-CONFIG_DEFAULT_DEVICE_TREE="px30-evb"
+CONFIG_DEFAULT_DEVICE_TREE="px30-firefly"
 CONFIG_OF_SPL_REMOVE_PROPS="pinctrl-0 pinctrl-names interrupt-parent assigned-clocks assigned-clock-rates assigned-clock-parents"
 CONFIG_ENV_IS_IN_MMC=y
 CONFIG_SYS_RELOC_GD_ENV_ADDR=y
Signature · 1 line
2.17.1