3 #include "kirkwood-nsa310-common.dtsi"
6 * There are at least two different NSA310 designs. This variant does
7 * not have the red USB Led.
11 compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
14 device_type = "memory";
15 reg = <0x00000000 0x10000000>;
19 bootargs = "console=ttyS0,115200";
23 pinctrl: pinctrl@10000 {
24 pinctrl-names = "default";
26 pmx_led_esata_green: pmx-led-esata-green {
27 marvell,pins = "mpp12";
28 marvell,function = "gpio";
31 pmx_led_esata_red: pmx-led-esata-red {
32 marvell,pins = "mpp13";
33 marvell,function = "gpio";
36 pmx_led_usb_green: pmx-led-usb-green {
37 marvell,pins = "mpp15";
38 marvell,function = "gpio";
41 pmx_usb_power_off: pmx-usb-power-off {
42 marvell,pins = "mpp21";
43 marvell,function = "gpio";
46 pmx_led_sys_green: pmx-led-sys-green {
47 marvell,pins = "mpp28";
48 marvell,function = "gpio";
51 pmx_led_sys_red: pmx-led-sys-red {
52 marvell,pins = "mpp29";
53 marvell,function = "gpio";
56 pmx_btn_reset: pmx-btn-reset {
57 marvell,pins = "mpp36";
58 marvell,function = "gpio";
61 pmx_btn_copy: pmx-btn-copy {
62 marvell,pins = "mpp37";
63 marvell,function = "gpio";
66 pmx_led_copy_green: pmx-led-copy-green {
67 marvell,pins = "mpp39";
68 marvell,function = "gpio";
71 pmx_led_copy_red: pmx-led-copy-red {
72 marvell,pins = "mpp40";
73 marvell,function = "gpio";
76 pmx_led_hdd_green: pmx-led-hdd-green {
77 marvell,pins = "mpp41";
78 marvell,function = "gpio";
81 pmx_led_hdd_red: pmx-led-hdd-red {
82 marvell,pins = "mpp42";
83 marvell,function = "gpio";
86 pmx_btn_power: pmx-btn-power {
87 marvell,pins = "mpp46";
88 marvell,function = "gpio";
104 compatible = "gpio-keys";
105 #address-cells = <1>;
109 label = "Power Button";
111 gpios = <&gpio1 14 0>;
114 label = "Copy Button";
116 gpios = <&gpio1 5 1>;
119 label = "Reset Button";
120 linux,code = <0x198>;
121 gpios = <&gpio1 4 1>;
126 compatible = "gpio-leds";
129 label = "nsa310:green:sys";
130 gpios = <&gpio0 28 0>;
133 label = "nsa310:red:sys";
134 gpios = <&gpio0 29 0>;
137 label = "nsa310:green:hdd";
138 gpios = <&gpio1 9 0>;
141 label = "nsa310:red:hdd";
142 gpios = <&gpio1 10 0>;
145 label = "nsa310:green:esata";
146 gpios = <&gpio0 12 0>;
149 label = "nsa310:red:esata";
150 gpios = <&gpio0 13 0>;
153 label = "nsa310:green:usb";
154 gpios = <&gpio0 15 0>;
157 label = "nsa310:green:copy";
158 gpios = <&gpio1 7 0>;
161 label = "nsa310:red:copy";
162 gpios = <&gpio1 8 0>;