Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /dts-v1/; |
| 3 | |
| 4 | #include "kirkwood-dnskw.dtsi" |
| 5 | |
| 6 | / { |
| 7 | model = "D-Link DNS-320 NAS (Rev A1)"; |
| 8 | compatible = "dlink,dns-320-a1", "dlink,dns-320", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; |
| 9 | |
| 10 | memory { |
| 11 | device_type = "memory"; |
| 12 | reg = <0x00000000 0x8000000>; |
| 13 | }; |
| 14 | |
| 15 | chosen { |
| 16 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 17 | stdout-path = &uart0; |
| 18 | }; |
| 19 | |
| 20 | gpio-leds { |
| 21 | compatible = "gpio-leds"; |
| 22 | pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_320 |
| 23 | &pmx_led_red_left_hdd &pmx_led_red_right_hdd |
| 24 | &pmx_led_white_usb>; |
| 25 | pinctrl-names = "default"; |
| 26 | |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 27 | led-blue-power { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 28 | label = "dns320:blue:power"; |
| 29 | gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; |
| 30 | default-state = "keep"; |
| 31 | }; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 32 | led-blue-usb { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 33 | label = "dns320:blue:usb"; |
| 34 | gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; |
| 35 | }; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 36 | led-orange-l_hdd { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 37 | label = "dns320:orange:l_hdd"; |
| 38 | gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; |
| 39 | }; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 40 | led-orange-r_hdd { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 41 | label = "dns320:orange:r_hdd"; |
| 42 | gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; |
| 43 | }; |
Tom Rini | 6b642ac | 2024-10-01 12:20:28 -0600 | [diff] [blame] | 44 | led-orange-usb { |
Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 45 | label = "dns320:orange:usb"; |
| 46 | gpios = <&gpio1 3 GPIO_ACTIVE_LOW>; /* GPIO 35 */ |
| 47 | }; |
| 48 | }; |
| 49 | |
| 50 | ocp@f1000000 { |
| 51 | serial@12000 { |
| 52 | status = "okay"; |
| 53 | }; |
| 54 | |
| 55 | serial@12100 { |
| 56 | status = "okay"; |
| 57 | }; |
| 58 | }; |
| 59 | }; |