1 #include "kirkwood.dtsi"
2 #include "kirkwood-6281.dtsi"
5 model = "D-Link DNS NASes (kirkwood-based)";
6 compatible = "dlink,dns-kirkwood", "marvell,kirkwood-88f6281", "marvell,kirkwood";
9 compatible = "gpio-keys";
12 pinctrl-0 = <&pmx_button_power &pmx_button_unmount
14 pinctrl-names = "default";
17 label = "Power button";
18 linux,code = <KEY_POWER>;
19 gpios = <&gpio1 2 GPIO_ACTIVE_LOW>;
22 label = "USB unmount button";
23 linux,code = <KEY_EJECTCD>;
24 gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
27 label = "Reset button";
28 linux,code = <KEY_RESTART>;
29 gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
34 /* Fan: ADDA AD045HB-G73 40mm 6000rpm@5v */
35 compatible = "gpio-fan";
36 pinctrl-0 = <&pmx_fan_high_speed &pmx_fan_low_speed>;
37 pinctrl-names = "default";
38 gpios = <&gpio1 14 GPIO_ACTIVE_LOW
39 &gpio1 13 GPIO_ACTIVE_LOW>;
40 gpio-fan,speed-map = <0 0
46 compatible = "gpio-poweroff";
47 pinctrl-0 = <&pmx_power_off>;
48 pinctrl-names = "default";
49 gpios = <&gpio1 4 GPIO_ACTIVE_HIGH>;
53 pinctrl: pin-controller@10000 {
55 pinctrl-0 = <&pmx_power_back_on &pmx_present_sata0
56 &pmx_present_sata1 &pmx_fan_tacho
58 pinctrl-names = "default";
60 pmx_sata0: pmx-sata0 {
61 marvell,pins = "mpp20";
62 marvell,function = "sata1";
64 pmx_sata1: pmx-sata1 {
65 marvell,pins = "mpp21";
66 marvell,function = "sata0";
68 pmx_led_power: pmx-led-power {
69 marvell,pins = "mpp26";
70 marvell,function = "gpio";
72 pmx_led_red_right_hdd: pmx-led-red-right-hdd {
73 marvell,pins = "mpp27";
74 marvell,function = "gpio";
76 pmx_led_red_left_hdd: pmx-led-red-left-hdd {
77 marvell,pins = "mpp28";
78 marvell,function = "gpio";
80 pmx_led_red_usb_325: pmx-led-red-usb-325 {
81 marvell,pins = "mpp29";
82 marvell,function = "gpio";
84 pmx_button_power: pmx-button-power {
85 marvell,pins = "mpp34";
86 marvell,function = "gpio";
88 pmx_led_red_usb_320: pmx-led-red-usb-320 {
89 marvell,pins = "mpp35";
90 marvell,function = "gpio";
92 pmx_power_off: pmx-power-off {
93 marvell,pins = "mpp36";
94 marvell,function = "gpio";
96 pmx_power_back_on: pmx-power-back-on {
97 marvell,pins = "mpp37";
98 marvell,function = "gpio";
100 pmx_power_sata0: pmx-power-sata0 {
101 marvell,pins = "mpp39";
102 marvell,function = "gpio";
104 pmx_power_sata1: pmx-power-sata1 {
105 marvell,pins = "mpp40";
106 marvell,function = "gpio";
108 pmx_present_sata0: pmx-present-sata0 {
109 marvell,pins = "mpp41";
110 marvell,function = "gpio";
112 pmx_present_sata1: pmx-present-sata1 {
113 marvell,pins = "mpp42";
114 marvell,function = "gpio";
116 pmx_led_white_usb: pmx-led-white-usb {
117 marvell,pins = "mpp43";
118 marvell,function = "gpio";
120 pmx_fan_tacho: pmx-fan-tacho {
121 marvell,pins = "mpp44";
122 marvell,function = "gpio";
124 pmx_fan_high_speed: pmx-fan-high-speed {
125 marvell,pins = "mpp45";
126 marvell,function = "gpio";
128 pmx_fan_low_speed: pmx-fan-low-speed {
129 marvell,pins = "mpp46";
130 marvell,function = "gpio";
132 pmx_button_unmount: pmx-button-unmount {
133 marvell,pins = "mpp47";
134 marvell,function = "gpio";
136 pmx_button_reset: pmx-button-reset {
137 marvell,pins = "mpp48";
138 marvell,function = "gpio";
140 pmx_temp_alarm: pmx-temp-alarm {
141 marvell,pins = "mpp49";
142 marvell,function = "gpio";
146 pinctrl-0 = <&pmx_sata0 &pmx_sata1>;
147 pinctrl-names = "default";
154 compatible = "simple-bus";
155 #address-cells = <1>;
157 pinctrl-0 = <&pmx_power_sata0 &pmx_power_sata1>;
158 pinctrl-names = "default";
160 sata0_power: regulator@1 {
161 compatible = "regulator-fixed";
163 regulator-name = "SATA0 Power";
164 regulator-min-microvolt = <5000000>;
165 regulator-max-microvolt = <5000000>;
171 sata1_power: regulator@2 {
172 compatible = "regulator-fixed";
174 regulator-name = "SATA1 Power";
175 regulator-min-microvolt = <5000000>;
176 regulator-max-microvolt = <5000000>;
191 reg = <0x0000000 0x100000>;
197 reg = <0x0100000 0x500000>;
202 reg = <0x0600000 0x500000>;
207 reg = <0x0b00000 0x6600000>;
211 label = "mini firmware";
212 reg = <0x7100000 0xa00000>;
217 reg = <0x7b00000 0x500000>;
224 ethphy0: ethernet-phy@8 {
232 phy-handle = <ðphy0>;