1 // SPDX-License-Identifier: GPL-2.0
4 #include "kirkwood.dtsi"
5 #include "kirkwood-6281.dtsi"
8 model = "RaidSonic ICY BOX IB-NAS62x0 (Rev B)";
9 compatible = "raidsonic,ib-nas6210-b", "raidsonic,ib-nas6220-b", "raidsonic,ib-nas6210", "raidsonic,ib-nas6220", "raidsonic,ib-nas62x0", "marvell,kirkwood-88f6281", "marvell,kirkwood";
12 device_type = "memory";
13 reg = <0x00000000 0x10000000>;
17 bootargs = "console=ttyS0,115200n8 earlyprintk";
22 pinctrl: pin-controller@10000 {
23 pmx_led_os_red: pmx-led-os-red {
24 marvell,pins = "mpp22";
25 marvell,function = "gpio";
27 pmx_power_off: pmx-power-off {
28 marvell,pins = "mpp24";
29 marvell,function = "gpio";
31 pmx_led_os_green: pmx-led-os-green {
32 marvell,pins = "mpp25";
33 marvell,function = "gpio";
35 pmx_led_usb_transfer: pmx-led-usb-transfer {
36 marvell,pins = "mpp27";
37 marvell,function = "gpio";
39 pmx_button_reset: pmx-button-reset {
40 marvell,pins = "mpp28";
41 marvell,function = "gpio";
43 pmx_button_usb_copy: pmx-button-usb-copy {
44 marvell,pins = "mpp29";
45 marvell,function = "gpio";
60 compatible = "gpio-keys";
63 pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
64 pinctrl-names = "default";
68 linux,code = <KEY_COPY>;
69 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
73 linux,code = <KEY_RESTART>;
74 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
79 compatible = "gpio-leds";
80 pinctrl-0 = <&pmx_led_os_red &pmx_led_os_green
81 &pmx_led_usb_transfer>;
82 pinctrl-names = "default";
85 label = "ib62x0:green:os";
86 gpios = <&gpio0 25 GPIO_ACTIVE_HIGH>;
87 default-state = "keep";
90 label = "ib62x0:red:os";
91 gpios = <&gpio0 22 GPIO_ACTIVE_HIGH>;
94 label = "ib62x0:red:usb_copy";
95 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
100 compatible = "gpio-poweroff";
101 pinctrl-0 = <&pmx_power_off>;
102 pinctrl-names = "default";
103 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
112 reg = <0x0000000 0xe0000>;
116 label = "u-boot environment";
117 reg = <0xe0000 0x20000>;
122 reg = <0x0100000 0x600000>;
127 reg = <0x0700000 0xf900000>;
135 ethphy0: ethernet-phy@8 {
144 phy-handle = <ðphy0>;