diff options
author | Teresa Gámez <t.gamez@phytec.de> | 2014-10-10 11:14:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-10-14 11:21:45 +0200 |
commit | 9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac (patch) | |
tree | 116615ce4dfa4bd684b87d2bc1f92ec96113c0b9 /arch/arm/dts | |
parent | e346aab0ef62fec91c66054b735c4d8dd3519f39 (diff) | |
download | barebox-9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac.tar.gz barebox-9da0a1481f2d1c1a0557da1d15a2d24eb7e766ac.tar.xz |
ARM: dts: split phyCORE-AM335x device tree
To support different module variants, split the phyCORE dts
in dts and dtsi. Configurable parts which are supported by
barebox are spi nor flash and i2c eeprom.
Signed-off-by: Teresa Gámez <t.gamez@phytec.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/dts')
-rw-r--r-- | arch/arm/dts/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/dts/am335x-phytec-phycore-som.dts | 24 | ||||
-rw-r--r-- | arch/arm/dts/am335x-phytec-phycore-som.dtsi (renamed from arch/arm/dts/am335x-phytec-phycore.dts) | 10 |
3 files changed, 27 insertions, 9 deletions
diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile index e9e74d19de..f15d7f173d 100644 --- a/arch/arm/dts/Makefile +++ b/arch/arm/dts/Makefile @@ -26,7 +26,7 @@ pbl-dtb-$(CONFIG_MACH_NVIDIA_JETSON) += tegra124-jetson-tk1.dtb.o pbl-dtb-$(CONFIG_MACH_PCA100) += imx27-phytec-phycard-s-rdk-bb.dtb.o pbl-dtb-$(CONFIG_MACH_PCAAXL3) += imx6q-phytec-pbaa03.dtb.o pbl-dtb-$(CONFIG_MACH_PCM038) += imx27-phytec-phycore-rdk.dtb.o -pbl-dtb-$(CONFIG_MACH_PCM051) += am335x-phytec-phycore.dtb.o +pbl-dtb-$(CONFIG_MACH_PCM051) += am335x-phytec-phycore-som.dtb.o pbl-dtb-$(CONFIG_MACH_PFLA03) += am335x-phytec-phyflex.dtb.o pbl-dtb-$(CONFIG_MACH_PHYTEC_PFLA02) += imx6s-phytec-pbab01.dtb.o imx6dl-phytec-pbab01.dtb.o imx6q-phytec-pbab01.dtb.o pbl-dtb-$(CONFIG_MACH_PLATHOME_OPENBLOCKS_AX3) += armada-xp-openblocks-ax3-4-bb.dtb.o diff --git a/arch/arm/dts/am335x-phytec-phycore-som.dts b/arch/arm/dts/am335x-phytec-phycore-som.dts new file mode 100644 index 0000000000..93f09e2c14 --- /dev/null +++ b/arch/arm/dts/am335x-phytec-phycore-som.dts @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2014 Teresa Gámez <t.gamez@phytec.de> Phytec Messtechnik GmbH + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + */ +/dts-v1/; + +#include "am33xx.dtsi" +#include "am335x-phytec-phycore-som.dtsi" + +/ { + model = "Phytec phyCORE AM335x"; + compatible = "phytec,phycore-am335x-som", "ti,am33xx"; +}; + +&spi0 { + status = "okay"; +}; + +&eeprom { + status = "okay"; +}; diff --git a/arch/arm/dts/am335x-phytec-phycore.dts b/arch/arm/dts/am335x-phytec-phycore-som.dtsi index 1a1352fe8d..f1bcb8ba35 100644 --- a/arch/arm/dts/am335x-phytec-phycore.dts +++ b/arch/arm/dts/am335x-phytec-phycore-som.dtsi @@ -1,11 +1,4 @@ -/dts-v1/; - -#include "am33xx.dtsi" - / { - model = "Phytec phyCORE AM335x"; - compatible = "phytec,phycore-am335x", "phytec,pcm051", "ti,am33xx"; - chosen { linux,stdout-path = &uart0; @@ -122,6 +115,7 @@ clock-frequency = <400000>; eeprom: 24c32@52 { + status = "disabled"; compatible = "atmel,24c32"; pagesize = <32>; reg = <0x52>; @@ -137,7 +131,7 @@ &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi0_pins>; - status = "okay"; + status = "disabled"; flash: m25p80 { compatible = "m25p80"; |