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