ARM: S3C24XX: add devicetree support for smdk2416
Subsystems (5)
PATCH 1/1 ARM: S3C24XX: add devicetree support for smdk2416
Definitions in s3c24xx.dtsi are usable for all s3c24xx SoCs, but some need to be extended with proper compatible properties, as can be seen in s3c2416.dtsi .
---
This patch depends on the not yet merged s3c24xx pinctrl support and the samsung-time muliplatform support.
arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s3c2416-pinctrl.dtsi | 173 +++++++++++++++++++++++++++++++ arch/arm/boot/dts/s3c2416-smdk2416.dts | 72 +++++++++++++ arch/arm/boot/dts/s3c2416.dtsi | 79 ++++++++++++++ arch/arm/boot/dts/s3c24xx.dtsi | 92 ++++++++++++++++ arch/arm/mach-s3c24xx/Kconfig | 12 ++ arch/arm/mach-s3c24xx/Makefile | 1 + arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 91 ++++++++++++++++ 8 files changed, 521 insertions(+), 0 deletions(-) create mode 100644 arch/arm/boot/dts/s3c2416-pinctrl.dtsi create mode 100644 arch/arm/boot/dts/s3c2416-smdk2416.dts create mode 100644 arch/arm/boot/dts/s3c2416.dtsi create mode 100644 arch/arm/boot/dts/s3c24xx.dtsi create mode 100644 arch/arm/mach-s3c24xx/mach-s3c2416-dt.c
arch/arm/boot/dts/Makefile +1 -0
@@ -137,6 +137,7 @@ dtb-$(CONFIG_ARCH_U8500) += snowball.dtb \ hrefprev60.dtb \ hrefv60plus.dtb \ ccu9540.dtb +dtb-$(CONFIG_ARCH_S3C24XX) += s3c2416-smdk2416.dtb dtb-$(CONFIG_ARCH_SHMOBILE) += emev2-kzm9d.dtb \ r8a7740-armadillo800eva.dtb \ sh73a0-kzm9g.dtb \
arch/arm/boot/dts/s3c2416-pinctrl.dtsi new file +173 -0
173 lines not on this page · raw message
arch/arm/boot/dts/s3c2416-smdk2416.dts new file +72 -0
72 lines not on this page · raw message
arch/arm/boot/dts/s3c2416.dtsi new file +79 -0
79 lines not on this page · raw message
arch/arm/boot/dts/s3c24xx.dtsi new file +92 -0
92 lines not on this page · raw message
arch/arm/mach-s3c24xx/Kconfig +12 -0
@@ -496,6 +496,18 @@ config MACH_SMDK2416 help Say Y here if you are using an SMDK2416 +config MACH_S3C2416_DT + bool "Samsung S3C2416 machine using devicetree" + select CLKSRC_OF + select USE_OF + select PINCTRL + select PINCTRL_S3C24XX + help + Machine support for Samsung S3C2416 machines with device tree enabled. + Select this if a fdt blob is available for the S3C2416 SoC based board. + Note: This is under development and not all peripherals can be supported + with this machine file. + endif # CPU_S3C2416 if CPU_S3C2440
arch/arm/mach-s3c24xx/Makefile +1 -0
@@ -85,6 +85,7 @@ obj-$(CONFIG_MACH_SMDK2413) += mach-smdk2413.o obj-$(CONFIG_MACH_VSTMS) += mach-vstms.o obj-$(CONFIG_MACH_SMDK2416) += mach-smdk2416.o +obj-$(CONFIG_MACH_S3C2416_DT) += mach-s3c2416-dt.o obj-$(CONFIG_MACH_ANUBIS) += mach-anubis.o obj-$(CONFIG_MACH_AT2440EVB) += mach-at2440evb.o
arch/arm/mach-s3c24xx/mach-s3c2416-dt.c new file +91 -0
91 lines not on this page · raw message
Signature · 1 line
1.7.2.3
PATCH 1/1 ARM: S3C24XX: add devicetree support for smdk2416
Quoted 5 lines · Heiko St?bner
Definitions in
s3c24xx.dtsiare usable for all s3c24xx SoCs, but some need to be extended with proper compatible properties, as can be seen ins3c2416.dtsi.Signed-off-by Heiko Stuebner<[email protected]>
Well done, thanks!
Would be nice to see it in 3.10.
Quoted 18 lines
---
This patch depends on the not yet merged s3c24xx pinctrl support and the samsung-time muliplatform support.arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/s3c2416-pinctrl.dtsi | 173 +++++++++++++++++++++++++++++++ arch/arm/boot/dts/s3c2416-smdk2416.dts | 72 +++++++++++++ arch/arm/boot/dts/s3c2416.dtsi | 79 ++++++++++++++ arch/arm/boot/dts/s3c24xx.dtsi | 92 ++++++++++++++++ arch/arm/mach-s3c24xx/Kconfig | 12 ++ arch/arm/mach-s3c24xx/Makefile | 1 + arch/arm/mach-s3c24xx/mach-s3c2416-dt.c | 91 ++++++++++++++++ 8 files changed, 521 insertions(+), 0 deletions(-)create mode 100644
arch/arm/boot/dts/s3c2416-pinctrl.dtsicreate mode 100644arch/arm/boot/dts/s3c2416-smdk2416.dtscreate mode 100644arch/arm/boot/dts/s3c2416.dtsicreate mode 100644arch/arm/boot/dts/s3c24xx.dtsicreate mode 100644arch/arm/mach-s3c24xx/mach-s3c2416-dt.c