]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: kirkwood: set default pinctrl for NAND
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Wed, 30 Apr 2014 12:56:38 +0000 (14:56 +0200)
committerJason Cooper <jason@lakedaemon.net>
Mon, 5 May 2014 00:53:06 +0000 (00:53 +0000)
There is only one valid pinctrl setting for NAND on Kirkwood. Now that we
have the setting in the common SoC pinctrl, move it to the NAND controller
node directly and remove it from the individual boards.

While at it, also fix up status = "okay" to "ok" on one board's NAND node.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1398862602-29595-12-git-send-email-sebastian.hesselbarth@gmail.com
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
arch/arm/boot/dts/kirkwood-db.dtsi
arch/arm/boot/dts/kirkwood-dnskw.dtsi
arch/arm/boot/dts/kirkwood-ib62x0.dts
arch/arm/boot/dts/kirkwood-km_kirkwood.dts
arch/arm/boot/dts/kirkwood-laplug.dts
arch/arm/boot/dts/kirkwood-mplcec4.dts
arch/arm/boot/dts/kirkwood-openblocks_a6.dts
arch/arm/boot/dts/kirkwood-openblocks_a7.dts
arch/arm/boot/dts/kirkwood-sheevaplug-common.dtsi
arch/arm/boot/dts/kirkwood-topkick.dts
arch/arm/boot/dts/kirkwood.dtsi

index 2790f46d87e075c8c55d64783888b1acb4fb12e6..812df691ae3d11a82df137ae894aa069ef237d56 100644 (file)
@@ -57,8 +57,6 @@ mvsdio@90000 {
 };
 
 &nand {
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
        chip-delay = <25>;
        status = "okay";
 
index bcc6e0f48571643df91dc94c7e16401e9d432672..113dcf056dcfb792d4220ec089a9dae748e4a587 100644 (file)
@@ -183,8 +183,6 @@ sata1_power: regulator@2 {
 };
 
 &nand {
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
        status = "okay";
        chip-delay = <35>;
 
index 6804638eb87ec4a7039e239e0aa16a48f1f65719..bfa5edde179c30d38d55cb80dd462dc6c3ee8084 100644 (file)
@@ -105,8 +105,6 @@ gpio_poweroff {
 
 &nand {
        status = "okay";
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
 
        partition@0 {
                label = "u-boot";
index db14bd03b86b5b566a84b7b32d20a028c710663c..61139bf309858cba22f6c678e087fdd7e5cdd32c 100644 (file)
@@ -46,9 +46,7 @@ i2c@0 {
 };
 
 &nand {
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
-       status = "ok";
+       status = "okay";
        chip-delay = <25>;
 };
 
index 4c91fbb084c59f1174da52d6e5b5991dc88cabce..642755acf2fef3ac6a257bb83853f19abccf938d 100644 (file)
@@ -138,7 +138,6 @@ usb_power_front: regulator@3 {
 &nand {
        /* Total size : 512MB */
        status = "okay";
-       pinctrl-0 = <&pmx_nand>;
 
        partition@0 {
                label = "u-boot";
index 79796c8b9c4f48e45da0258c46c6ff9a30a5cb2e..f3a991837515d4b97aec12aa2a21b9ddcefe8a2d 100644 (file)
@@ -162,8 +162,6 @@ misc {
 };
 
 &nand {
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
        status = "okay";
 
        partition@0 {
index 1e056b3b1817d094f3f62e2b04020b01c011ac3d..00c2e5a9d8632ab3935229d8a429f6119789d1fc 100644 (file)
@@ -130,8 +130,6 @@ button@1 {
 &nand {
        chip-delay = <25>;
        status = "okay";
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
 
        partition@0 {
                label = "uboot";
index 07f6bf6aba9163ac20a20f99560df7cf600a248b..bc07aa5e669847387f604fba1d4409f76938bc48 100644 (file)
@@ -148,8 +148,6 @@ button@1 {
 &nand {
        chip-delay = <25>;
        status = "okay";
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
 
        partition@0 {
                label = "uboot";
index e2c43aecc7b2d0d3687a4c338e1fbf1094e1c839..7196c7f3e1096fc4c42beb74db5ec2160e447ef2 100644 (file)
@@ -71,8 +71,6 @@ usb_power: regulator@1 {
 };
 
 &nand {
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
        status = "okay";
 
        partition@0 {
index 14b12189d464138229b96dd9d97b95ecb0bbdbb9..a4dd47acf98aab6406e4fbb17cd050f97e700151 100644 (file)
@@ -174,8 +174,6 @@ sata0_power: regulator@1 {
 
 &nand {
        status = "okay";
-       pinctrl-0 = <&pmx_nand>;
-       pinctrl-names = "default";
 
        partition@0 {
                label = "u-boot";
index 0c8d8fa29926585da2a1fa2482a496a480474a0c..caafcde88f67a3942958da5d8724cfd9db22ef56 100644 (file)
@@ -61,6 +61,8 @@ nand: nand@012f {
                        chip-delay = <25>;
                        /* set partition map and/or chip-delay in board dts */
                        clocks = <&gate_clk 7>;
+                       pinctrl-0 = <&pmx_nand>;
+                       pinctrl-names = "default";
                        status = "disabled";
                };
        };