1 // SPDX-License-Identifier: GPL-2.0
4 #include "kirkwood-nsa3x0-common.dtsi"
7 compatible = "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
10 device_type = "memory";
11 reg = <0x00000000 0x10000000>;
15 bootargs = "console=ttyS0,115200";
20 pinctrl: pin-controller@10000 {
21 pinctrl-0 = <&pmx_unknown>;
22 pinctrl-names = "default";
24 pmx_led_esata_green: pmx-led-esata-green {
25 marvell,pins = "mpp12";
26 marvell,function = "gpio";
29 pmx_led_esata_red: pmx-led-esata-red {
30 marvell,pins = "mpp13";
31 marvell,function = "gpio";
34 pmx_led_usb_green: pmx-led-usb-green {
35 marvell,pins = "mpp15";
36 marvell,function = "gpio";
39 pmx_led_usb_red: pmx-led-usb-red {
40 marvell,pins = "mpp16";
41 marvell,function = "gpio";
44 pmx_led_sys_green: pmx-led-sys-green {
45 marvell,pins = "mpp28";
46 marvell,function = "gpio";
49 pmx_led_sys_red: pmx-led-sys-red {
50 marvell,pins = "mpp29";
51 marvell,function = "gpio";
54 pmx_led_hdd_green: pmx-led-hdd-green {
55 marvell,pins = "mpp41";
56 marvell,function = "gpio";
59 pmx_led_hdd_red: pmx-led-hdd-red {
60 marvell,pins = "mpp42";
61 marvell,function = "gpio";
64 pmx_unknown: pmx-unknown {
65 marvell,pins = "mpp44";
66 marvell,function = "gpio";
74 adt7476: adt7476a@2e {
75 compatible = "adi,adt7476";
82 compatible = "gpio-leds";
83 pinctrl-0 = <&pmx_led_esata_green &pmx_led_esata_red
84 &pmx_led_usb_green &pmx_led_usb_red
85 &pmx_led_sys_green &pmx_led_sys_red
86 &pmx_led_copy_green &pmx_led_copy_red
87 &pmx_led_hdd_green &pmx_led_hdd_red>;
88 pinctrl-names = "default";
91 label = "nsa310:green:sys";
92 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
95 label = "nsa310:red:sys";
96 gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
99 label = "nsa310:green:hdd";
100 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
103 label = "nsa310:red:hdd";
104 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
107 label = "nsa310:green:esata";
108 gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
111 label = "nsa310:red:esata";
112 gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
115 label = "nsa310:green:usb";
116 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
119 label = "nsa310:red:usb";
120 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
123 label = "nsa310:green:copy";
124 gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
127 label = "nsa310:red:copy";
128 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;