3 #include "kirkwood-nsa310-common.dtsi"
6 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9 device_type = "memory";
10 reg = <0x00000000 0x10000000>;
14 bootargs = "console=ttyS0,115200";
18 ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000>;
29 pinctrl: pinctrl@10000 {
30 pinctrl-0 = <&pmx_unknown>;
31 pinctrl-names = "default";
33 pmx_led_esata_green: pmx-led-esata-green {
34 marvell,pins = "mpp12";
35 marvell,function = "gpio";
38 pmx_led_esata_red: pmx-led-esata-red {
39 marvell,pins = "mpp13";
40 marvell,function = "gpio";
43 pmx_led_usb_green: pmx-led-usb-green {
44 marvell,pins = "mpp15";
45 marvell,function = "gpio";
48 pmx_led_usb_red: pmx-led-usb-red {
49 marvell,pins = "mpp16";
50 marvell,function = "gpio";
53 pmx_led_sys_green: pmx-led-sys-green {
54 marvell,pins = "mpp28";
55 marvell,function = "gpio";
58 pmx_led_sys_red: pmx-led-sys-red {
59 marvell,pins = "mpp29";
60 marvell,function = "gpio";
63 pmx_btn_reset: pmx-btn-reset {
64 marvell,pins = "mpp36";
65 marvell,function = "gpio";
68 pmx_btn_copy: pmx-btn-copy {
69 marvell,pins = "mpp37";
70 marvell,function = "gpio";
73 pmx_led_copy_green: pmx-led-copy-green {
74 marvell,pins = "mpp39";
75 marvell,function = "gpio";
78 pmx_led_copy_red: pmx-led-copy-red {
79 marvell,pins = "mpp40";
80 marvell,function = "gpio";
83 pmx_led_hdd_green: pmx-led-hdd-green {
84 marvell,pins = "mpp41";
85 marvell,function = "gpio";
88 pmx_led_hdd_red: pmx-led-hdd-red {
89 marvell,pins = "mpp42";
90 marvell,function = "gpio";
93 pmx_unknown: pmx-unknown {
94 marvell,pins = "mpp44";
95 marvell,function = "gpio";
98 pmx_btn_power: pmx-btn-power {
99 marvell,pins = "mpp46";
100 marvell,function = "gpio";
107 adt7476: adt7476a@2e {
108 compatible = "adt7476";
115 compatible = "gpio-keys";
116 #address-cells = <1>;
118 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
119 pinctrl-names = "default";
122 label = "Power Button";
124 gpios = <&gpio1 14 0>;
127 label = "Copy Button";
129 gpios = <&gpio1 5 1>;
132 label = "Reset Button";
133 linux,code = <0x198>;
134 gpios = <&gpio1 4 1>;
139 compatible = "gpio-leds";
140 pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red
141 &pmx_led_usb_green &pmx_led_usb_red
142 &pmx_led_sys_green &pmx_led_sys_red
143 &pmx_led_copy_green &pmx_led_copy_red
144 &pmx_led_hdd_green &pmx_led_hdd_red>;
145 pinctrl-names = "default";
148 label = "nsa310:green:sys";
149 gpios = <&gpio0 28 0>;
152 label = "nsa310:red:sys";
153 gpios = <&gpio0 29 0>;
156 label = "nsa310:green:hdd";
157 gpios = <&gpio1 9 0>;
160 label = "nsa310:red:hdd";
161 gpios = <&gpio1 10 0>;
164 label = "nsa310:green:esata";
165 gpios = <&gpio0 12 0>;
168 label = "nsa310:red:esata";
169 gpios = <&gpio0 13 0>;
172 label = "nsa310:green:usb";
173 gpios = <&gpio0 15 0>;
176 label = "nsa310:red:usb";
177 gpios = <&gpio0 16 0>;
180 label = "nsa310:green:copy";
181 gpios = <&gpio1 7 0>;
184 label = "nsa310:red:copy";
185 gpios = <&gpio1 8 0>;