Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "kirkwood-dnskw.dtsi"
0005 
0006 / {
0007         model = "D-Link DNS-325 NAS (Rev A1)";
0008         compatible = "dlink,dns-325-a1", "dlink,dns-325", "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
0009 
0010         memory {
0011                 device_type = "memory";
0012                 reg = <0x00000000 0x10000000>;
0013         };
0014 
0015         chosen {
0016                 bootargs = "console=ttyS0,115200n8 earlyprintk";
0017                 stdout-path = &uart0;
0018         };
0019 
0020         gpio-leds {
0021                 compatible = "gpio-leds";
0022                 pinctrl-0 = <&pmx_led_power &pmx_led_red_usb_325
0023                              &pmx_led_red_left_hdd &pmx_led_red_right_hdd
0024                              &pmx_led_white_usb>;
0025                 pinctrl-names = "default";
0026 
0027                 white-power {
0028                         label = "dns325:white:power";
0029                         gpios = <&gpio0 26 GPIO_ACTIVE_LOW>;
0030                         default-state = "keep";
0031                 };
0032                 white-usb {
0033                         label = "dns325:white:usb";
0034                         gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; /* GPIO 43 */
0035                 };
0036                 red-l_hdd {
0037                         label = "dns325:red:l_hdd";
0038                         gpios = <&gpio0 28 GPIO_ACTIVE_LOW>;
0039                 };
0040                 red-r_hdd {
0041                         label = "dns325:red:r_hdd";
0042                         gpios = <&gpio0 27 GPIO_ACTIVE_LOW>;
0043                 };
0044                 red-usb {
0045                         label = "dns325:red:usb";
0046                         gpios = <&gpio0 29 GPIO_ACTIVE_LOW>;
0047                 };
0048         };
0049 
0050         ocp@f1000000 {
0051                 i2c@11000 {
0052                         status = "okay";
0053 
0054                         lm75: lm75@48 {
0055                                 compatible = "national,lm75";
0056                                 reg = <0x48>;
0057                         };
0058                 };
0059                 serial@12000 {
0060                         status = "okay";
0061                 };
0062         };
0063 };