1/dts-v1/; 2 3#include "kirkwood-dnskw.dtsi" 4 5/ { 6 model = "D-Link DNS-325 NAS (Rev A1)"; 7 compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood"; 8 9 memory { 10 device_type = "memory"; 11 reg = <0x00000000 0x10000000>; 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_325 22 &pmx_led_red_left_hdd &pmx_led_red_right_hdd 23 &pmx_led_white_usb>; 24 pinctrl-names = "default"; 25 26 white-power { 27 label = "dns325:white:power"; 28 gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; 29 default-state = "keep"; 30 }; 31 white-usb { 32 label = "dns325:white:usb"; 33 gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */ 34 }; 35 red-l_hdd { 36 label = "dns325:red:l_hdd"; 37 gpios = <&gpio0 28 GPIO_ACTIVE_LOW>; 38 }; 39 red-r_hdd { 40 label = "dns325:red:r_hdd"; 41 gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; 42 }; 43 red-usb { 44 label = "dns325:red:usb"; 45 gpios = <&gpio0 29 GPIO_ACTIVE_LOW>; 46 }; 47 }; 48 49 ocp@f1000000 { 50 i2c@11000 { 51 status = "okay"; 52 53 lm75: lm75@48 { 54 compatible = "national,lm75"; 55 reg = <0x48>; 56 }; 57 }; 58 serial@12000 { 59 status = "okay"; 60 }; 61 }; 62}; 63