]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: am335x-phycore-som: Enable gpmc node in dts files
authorTeresa Remmet <t.remmet@phytec.de>
Fri, 24 May 2019 13:20:00 +0000 (15:20 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 10 Jun 2019 12:06:26 +0000 (05:06 -0700)
As nand flash is not always the primary storage device any more
disable it in the phycore-som include file. Enable it the device tree
files where it is populated.

Signed-off-by: Teresa Remmet <t.remmet@phytec.de>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/boot/dts/am335x-phycore-rdk.dts
arch/arm/boot/dts/am335x-phycore-som.dtsi
arch/arm/boot/dts/am335x-wega-rdk.dts

index 305f0b35d6ead25b7f729b4e0848880768cb54a2..d674d91e18c702e4def830d545c6683f2a3e609d 100644 (file)
 #include "am335x-pcm-953.dtsi"
 
 /* SoM */
+&gpmc {
+       status = "okay";
+};
+
 &i2c_eeprom {
        status = "okay";
 };
index 2bc2265534e1ae9d36d9d3322a307ceb3588c191..adf04dbefe28098e705c1966fe89cc76182dfd06 100644 (file)
 };
 
 &gpmc {
-       status = "okay";
+       status = "disabled";
        pinctrl-names = "default";
        pinctrl-0 = <&nandflash_pins>;
        ranges = <0 0 0x08000000 0x1000000>;   /* CS0: NAND */
index 6431b7db8109f9f6278bc8cb8eca4b60127f7a7c..fd8a844ba780362040c8436279550bc44a2b25e9 100644 (file)
 #include "am335x-wega.dtsi"
 
 /* SoM */
+&gpmc {
+       status = "okay";
+};
+
 &i2c_eeprom {
        status = "okay";
 };