Commit 148c274e authored by Luka Perkov's avatar Luka Perkov Committed by Jason Cooper

ARM: kirkwood: ib62x0: add u-boot environment partition

Also, add some trivial whitespace cleanup.
Signed-off-by: default avatarLuka Perkov <luka@openwrt.org>
Signed-off-by: default avatarJason Cooper <jason@lakedaemon.net>
parent 7045ff5a
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
/ { / {
model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)"; model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood"; compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
memory { memory {
device_type = "memory"; device_type = "memory";
...@@ -43,6 +43,7 @@ pmx_button_usb_copy: pmx-button-usb-copy { ...@@ -43,6 +43,7 @@ pmx_button_usb_copy: pmx-button-usb-copy {
marvell,function = "gpio"; marvell,function = "gpio";
}; };
}; };
serial@12000 { serial@12000 {
status = "okay"; status = "okay";
}; };
...@@ -71,6 +72,7 @@ button@2 { ...@@ -71,6 +72,7 @@ button@2 {
gpios = <&gpio0 28 1>; gpios = <&gpio0 28 1>;
}; };
}; };
gpio-leds { gpio-leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
...@@ -91,14 +93,13 @@ usb-copy { ...@@ -91,14 +93,13 @@ usb-copy {
gpios = <&gpio0 27 0>; gpios = <&gpio0 27 0>;
}; };
}; };
gpio_poweroff { gpio_poweroff {
compatible = "gpio-poweroff"; compatible = "gpio-poweroff";
pinctrl-0 = <&pmx_power_off>; pinctrl-0 = <&pmx_power_off>;
pinctrl-names = "default"; pinctrl-names = "default";
gpios = <&gpio0 24 0>; gpios = <&gpio0 24 0>;
}; };
}; };
&nand { &nand {
...@@ -108,7 +109,12 @@ &nand { ...@@ -108,7 +109,12 @@ &nand {
partition@0 { partition@0 {
label = "u-boot"; label = "u-boot";
reg = <0x0000000 0x100000>; reg = <0x0000000 0xe0000>;
};
partition@e0000 {
label = "u-boot environment";
reg = <0xe0000 0x100000>;
}; };
partition@100000 { partition@100000 {
...@@ -134,6 +140,7 @@ ethphy0: ethernet-phy@8 { ...@@ -134,6 +140,7 @@ ethphy0: ethernet-phy@8 {
&eth0 { &eth0 {
status = "okay"; status = "okay";
ethernet0-port@0 { ethernet0-port@0 {
phy-handle = <&ethphy0>; phy-handle = <&ethphy0>;
}; };
......
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