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