3 /include/ "kirkwood.dtsi"
6 model = "ZyXEL NSA310";
7 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10 device_type = "memory";
11 reg = <0x00000000 0x10000000>;
15 bootargs = "console=ttyS0,115200";
19 pinctrl: pinctrl@10000 {
20 pinctrl-0 = < &pmx_led_esata_green
36 pinctrl-names = "default";
38 pmx_led_esata_green: pmx-led-esata-green {
39 marvell,pins = "mpp12";
40 marvell,function = "gpio";
43 pmx_led_esata_red: pmx-led-esata-red {
44 marvell,pins = "mpp13";
45 marvell,function = "gpio";
48 pmx_led_usb_green: pmx-led-usb-green {
49 marvell,pins = "mpp15";
50 marvell,function = "gpio";
53 pmx_led_usb_red: pmx-led-usb-red {
54 marvell,pins = "mpp16";
55 marvell,function = "gpio";
58 pmx_usb_power_off: pmx-usb-power-off {
59 marvell,pins = "mpp21";
60 marvell,function = "gpio";
63 pmx_led_sys_green: pmx-led-sys-green {
64 marvell,pins = "mpp28";
65 marvell,function = "gpio";
68 pmx_led_sys_red: pmx-led-sys-red {
69 marvell,pins = "mpp29";
70 marvell,function = "gpio";
73 pmx_btn_reset: pmx-btn-reset {
74 marvell,pins = "mpp36";
75 marvell,function = "gpio";
78 pmx_btn_copy: pmx-btn-copy {
79 marvell,pins = "mpp37";
80 marvell,function = "gpio";
83 pmx_led_copy_green: pmx-led-copy-green {
84 marvell,pins = "mpp39";
85 marvell,function = "gpio";
88 pmx_led_copy_red: pmx-led-copy-red {
89 marvell,pins = "mpp40";
90 marvell,function = "gpio";
93 pmx_led_hdd_green: pmx-led-hdd-green {
94 marvell,pins = "mpp41";
95 marvell,function = "gpio";
98 pmx_led_hdd_red: pmx-led-hdd-red {
99 marvell,pins = "mpp42";
100 marvell,function = "gpio";
103 pmx_unknown: pmx-unknown {
104 marvell,pins = "mpp44";
105 marvell,function = "gpio";
108 pmx_btn_power: pmx-btn-power {
109 marvell,pins = "mpp46";
110 marvell,function = "gpio";
113 pmx_pwr_off: pmx-pwr-off {
114 marvell,pins = "mpp48";
115 marvell,function = "gpio";
120 clock-frequency = <200000000>;
132 adt7476: adt7476a@2e {
133 compatible = "adt7476";
144 reg = <0x0000000 0x0100000>;
149 reg = <0x0100000 0x0080000>;
153 reg = <0x0180000 0x0080000>;
157 reg = <0x0200000 0x0080000>;
161 reg = <0x0280000 0x0a00000>;
165 reg = <0x0c80000 0x0a00000>;
169 reg = <0x1680000 0x2fc0000>;
173 reg = <0x4640000 0x0a00000>;
177 reg = <0x5040000 0x2fc0000>;
183 compatible = "gpio-keys";
184 #address-cells = <1>;
188 label = "Power Button";
190 gpios = <&gpio1 14 0>;
193 label = "Copy Button";
195 gpios = <&gpio1 5 1>;
198 label = "Reset Button";
199 linux,code = <0x198>;
200 gpios = <&gpio1 4 1>;
205 compatible = "gpio-leds";
208 label = "nsa310:green:sys";
209 gpios = <&gpio0 28 0>;
212 label = "nsa310:red:sys";
213 gpios = <&gpio0 29 0>;
216 label = "nsa310:green:hdd";
217 gpios = <&gpio1 9 0>;
220 label = "nsa310:red:hdd";
221 gpios = <&gpio1 10 0>;
224 label = "nsa310:green:esata";
225 gpios = <&gpio0 12 0>;
228 label = "nsa310:red:esata";
229 gpios = <&gpio0 13 0>;
232 label = "nsa310:green:usb";
233 gpios = <&gpio0 15 0>;
236 label = "nsa310:red:usb";
237 gpios = <&gpio0 16 0>;
240 label = "nsa310:green:copy";
241 gpios = <&gpio1 7 0>;
244 label = "nsa310:red:copy";
245 gpios = <&gpio1 8 0>;
250 compatible = "gpio-poweroff";
251 gpios = <&gpio1 16 0>;
255 compatible = "simple-bus";
256 #address-cells = <1>;
259 usb0_power_off: regulator@1 {
260 compatible = "regulator-fixed";
262 regulator-name = "USB Power Off";
263 regulator-min-microvolt = <5000000>;
264 regulator-max-microvolt = <5000000>;
267 gpio = <&gpio0 21 0>;