1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
4 #include <dt-bindings/leds/common.h>
6 #include "kirkwood.dtsi"
7 #include "kirkwood-6281.dtsi"
10 model = "ipTIME NAS1";
11 compatible = "iptime,nas1", "marvell,kirkwood-88f6281", "marvell,kirkwood";
15 led-boot = &led_ready;
16 led-failsafe = &led_ready;
17 led-running = &led_ready;
18 led-upgrade = &led_ready;
23 * "root" argument from the stock bootloader should be ignored
24 * as it'll prevent the kernel from finding the correct rootfs.
26 bootargs-append = " console=ttyS0,115200 root=";
27 stdout-path = "serial0:115200n8";
31 device_type = "memory";
32 reg = <0x00000000 0x10000000>;
36 compatible = "gpio-leds";
38 pinctrl-0 = <&pmx_led>;
39 pinctrl-names = "default";
43 gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
44 linux,default-trigger = "ata1";
48 function = LED_FUNCTION_USB;
49 color = <LED_COLOR_ID_BLUE>;
50 gpios = <&gpio1 13 GPIO_ACTIVE_LOW>;
51 trigger-sources = <&ehci_port1>;
52 linux,default-trigger = "usbport";
57 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
62 compatible = "gpio-keys";
64 pinctrl-0 = <&pmx_button>;
65 pinctrl-names = "default";
68 label = "Reset/Copy Button";
69 linux,code = <KEY_RESTART>;
70 gpios = <&gpio1 12 GPIO_ACTIVE_LOW>;
74 label = "Power Button";
75 linux,code = <KEY_POWER>;
76 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
81 compatible = "gpio-fan";
83 pinctrl-0 = <&pmx_fan>;
84 pinctrl-names = "default";
85 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>,
86 <&gpio1 10 GPIO_ACTIVE_HIGH>;
87 /* We don't know the exact rpm, just use dummy values here. */
88 gpio-fan,speed-map = <0 0>, <1 1>, <2 2>;
93 compatible = "gpio-poweroff";
94 gpios = <&pca9536 0 GPIO_ACTIVE_LOW>;
98 compatible = "simple-bus";
102 pinctrl-0 = <&pmx_usb_vbus>;
103 pinctrl-names = "default";
106 compatible = "regulator-fixed";
108 regulator-name = "USB Power";
109 regulator-min-microvolt = <5000000>;
110 regulator-max-microvolt = <5000000>;
113 gpio = <&gpio1 11 GPIO_ACTIVE_HIGH>;
120 marvell,pins = "mpp35", "mpp45", "mpp46";
121 marvell,function = "gpio";
125 marvell,pins = "mpp41", "mpp42";
126 marvell,function = "gpio";
129 pmx_usb_vbus: pmx-usb-vbus {
130 marvell,pins = "mpp43";
131 marvell,function = "gpio";
134 pmx_button: pmx-button {
135 marvell,pins = "mpp44", "mpp48";
136 marvell,function = "gpio";
144 compatible = "jedec,spi-nor";
146 spi-max-frequency = <20000000>;
149 compatible = "fixed-partitions";
150 #address-cells = <1>;
160 compatible = "openwrt,uimage", "denx,uimage";
161 openwrt,offset = <0x400>;
163 reg = <0x40000 0xf80000>;
168 reg = <0xfc0000 0x40000>;
183 compatible = "nxp,pca9536";
197 #address-cells = <1>;
202 #trigger-source-cells = <0>;
209 ethphyb: ethernet-phy@b {
219 phy-handle = <ðphyb>;
220 phy-connection-type = "rgmii-id";
226 #address-cells = <1>;
232 #thermal-sensor-cells = <0>;