1 // SPDX-License-Identifier: GPL-2.0
4 #include "kirkwood-nsa3x0-common.dtsi"
7 * There are at least two different NSA310 designs. This variant does
8 * not have the red USB Led.
12 compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
15 device_type = "memory";
16 reg = <0x00000000 0x10000000>;
20 bootargs = "console=ttyS0,115200";
25 pinctrl: pin-controller@10000 {
26 pinctrl-names = "default";
28 pmx_led_esata_green: pmx-led-esata-green {
29 marvell,pins = "mpp12";
30 marvell,function = "gpio";
33 pmx_led_esata_red: pmx-led-esata-red {
34 marvell,pins = "mpp13";
35 marvell,function = "gpio";
38 pmx_led_usb_green: pmx-led-usb-green {
39 marvell,pins = "mpp15";
40 marvell,function = "gpio";
43 pmx_led_sys_green: pmx-led-sys-green {
44 marvell,pins = "mpp28";
45 marvell,function = "gpio";
48 pmx_led_sys_red: pmx-led-sys-red {
49 marvell,pins = "mpp29";
50 marvell,function = "gpio";
53 pmx_led_hdd_green: pmx-led-hdd-green {
54 marvell,pins = "mpp41";
55 marvell,function = "gpio";
58 pmx_led_hdd_red: pmx-led-hdd-red {
59 marvell,pins = "mpp42";
60 marvell,function = "gpio";
69 compatible = "national,lm85";
76 compatible = "gpio-leds";
79 label = "nsa310:green:sys";
80 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
83 label = "nsa310:red:sys";
84 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
87 label = "nsa310:green:hdd";
88 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
91 label = "nsa310:red:hdd";
92 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
95 label = "nsa310:green:esata";
96 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
99 label = "nsa310:red:esata";
100 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
103 label = "nsa310:green:usb";
104 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
107 label = "nsa310:green:copy";
108 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
111 label = "nsa310:red:copy";
112 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;