Commit cbfaea96 authored by Sebastian Hesselbarth's avatar Sebastian Hesselbarth Committed by Jason Cooper

ARM: dts: kirkwood: set default pinctrl for NAND

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: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: default avatarAndrew Lunn <andrew@lunn.ch>
Link: https://lkml.kernel.org/r/1398862602-29595-12-git-send-email-sebastian.hesselbarth@gmail.comSigned-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 92901201
...@@ -57,8 +57,6 @@ mvsdio@90000 { ...@@ -57,8 +57,6 @@ mvsdio@90000 {
}; };
&nand { &nand {
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
chip-delay = <25>; chip-delay = <25>;
status = "okay"; status = "okay";
......
...@@ -183,8 +183,6 @@ sata1_power: regulator@2 { ...@@ -183,8 +183,6 @@ sata1_power: regulator@2 {
}; };
&nand { &nand {
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
status = "okay"; status = "okay";
chip-delay = <35>; chip-delay = <35>;
......
...@@ -105,8 +105,6 @@ gpio_poweroff { ...@@ -105,8 +105,6 @@ gpio_poweroff {
&nand { &nand {
status = "okay"; status = "okay";
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
partition@0 { partition@0 {
label = "u-boot"; label = "u-boot";
......
...@@ -46,9 +46,7 @@ i2c@0 { ...@@ -46,9 +46,7 @@ i2c@0 {
}; };
&nand { &nand {
pinctrl-0 = <&pmx_nand>; status = "okay";
pinctrl-names = "default";
status = "ok";
chip-delay = <25>; chip-delay = <25>;
}; };
......
...@@ -138,7 +138,6 @@ usb_power_front: regulator@3 { ...@@ -138,7 +138,6 @@ usb_power_front: regulator@3 {
&nand { &nand {
/* Total size : 512MB */ /* Total size : 512MB */
status = "okay"; status = "okay";
pinctrl-0 = <&pmx_nand>;
partition@0 { partition@0 {
label = "u-boot"; label = "u-boot";
......
...@@ -162,8 +162,6 @@ misc { ...@@ -162,8 +162,6 @@ misc {
}; };
&nand { &nand {
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
status = "okay"; status = "okay";
partition@0 { partition@0 {
......
...@@ -130,8 +130,6 @@ button@1 { ...@@ -130,8 +130,6 @@ button@1 {
&nand { &nand {
chip-delay = <25>; chip-delay = <25>;
status = "okay"; status = "okay";
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
partition@0 { partition@0 {
label = "uboot"; label = "uboot";
......
...@@ -148,8 +148,6 @@ button@1 { ...@@ -148,8 +148,6 @@ button@1 {
&nand { &nand {
chip-delay = <25>; chip-delay = <25>;
status = "okay"; status = "okay";
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
partition@0 { partition@0 {
label = "uboot"; label = "uboot";
......
...@@ -71,8 +71,6 @@ usb_power: regulator@1 { ...@@ -71,8 +71,6 @@ usb_power: regulator@1 {
}; };
&nand { &nand {
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
status = "okay"; status = "okay";
partition@0 { partition@0 {
......
...@@ -174,8 +174,6 @@ sata0_power: regulator@1 { ...@@ -174,8 +174,6 @@ sata0_power: regulator@1 {
&nand { &nand {
status = "okay"; status = "okay";
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
partition@0 { partition@0 {
label = "u-boot"; label = "u-boot";
......
...@@ -61,6 +61,8 @@ nand: nand@012f { ...@@ -61,6 +61,8 @@ nand: nand@012f {
chip-delay = <25>; chip-delay = <25>;
/* set partition map and/or chip-delay in board dts */ /* set partition map and/or chip-delay in board dts */
clocks = <&gate_clk 7>; clocks = <&gate_clk 7>;
pinctrl-0 = <&pmx_nand>;
pinctrl-names = "default";
status = "disabled"; status = "disabled";
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment