1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
4 * (c) Copyright 2010 Western Digital Technologies, Inc. All Rights Reserved.
9 #include <dt-bindings/leds/common.h>
10 #include "apm82181.dtsi"
13 compatible = "wd,mybooklive", "amcc,apollo3g";
14 model = "MyBook Live";
25 compatible = "jedec-flash"; /* "microchip,sst39vf040 */
27 reg = <0x00000000 0x00000000 0x00080000>;
32 compatible = "fixed-partitions";
37 /* Part of bootrom - Don't use it without a jump */
39 reg = <0x00000000 0x0001e000>;
44 compatible = "fixed-partitions";
45 reg = <0x0001e000 0x00002000>;
51 compatible = "u-boot,env-redundant-bool";
52 reg = <0x00000000 0x00001000>;
53 label = "u-boot-env-1";
60 * Causes the following warning: * sysfs: cannot create duplicate filename '/bus/nvmem/devices/u-boot-env0'
63 * compatible = "u-boot,env-redundant-bool";
64 * reg = <0x00001000 0x00001000>;
65 * label = "u-boot-env-2";
74 reg = <0x00020000 0x00050000>;
81 GPIO1: gpio@e0000000 {
82 compatible = "wd,mbl-gpio", "ti,74273";
84 reg = <0xe0000000 0x1>;
89 /* Defined in u-boot as: NOT_NOR
90 * "enables features other than NOR
91 * specifically, the buffer at CS2"
94 * Note: This option is disabled as
95 * it prevents the system from being
96 * rebooted successfully.
100 line-name = "Enable Reset Button, disable NOR";
101 gpios = <1 GPIO_ACTIVE_HIGH>;
106 GPIO2: gpio@e0100000 {
107 compatible = "wd,mbl-gpio", "ti,74244";
109 reg = <0xe0100000 0x1>;
116 compatible = "gpio-leds";
118 /* There's just one tri-color LED with three separate pins.
119 * One pin for each color (red, green and blue). Each has
120 * a different meaning.
123 color = <LED_COLOR_ID_RED>;
124 function = LED_FUNCTION_FAULT;
125 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
130 color = <LED_COLOR_ID_GREEN>;
131 function = LED_FUNCTION_POWER;
132 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
136 color = <LED_COLOR_ID_BLUE>;
137 function = LED_FUNCTION_DISK;
138 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
139 linux,default-trigger = "disk-activity";
144 compatible = "gpio-keys-polled";
145 poll-interval = <60>; /* 3 * 20 = 60ms */
149 label = "Reset button";
150 linux,code = <KEY_RESTART>;
151 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
155 usbpwr: usb-regulator {
156 compatible = "regulator-fixed";
157 regulator-name = "Power USB Core";
158 gpios = <&GPIO1 2 GPIO_ACTIVE_HIGH>;
159 regulator-min-microvolt = <5000000>;
160 regulator-max-microvolt = <5000000>;
161 regulator-boot-on; /* uboot sets this */
165 sata1pwr: sata1-regulator {
166 compatible = "regulator-fixed";
167 regulator-name = "Power Drive Port 1";
168 gpios = <&GPIO1 3 GPIO_ACTIVE_HIGH>;
169 regulator-min-microvolt = <12000000>;
170 regulator-max-microvolt = <12000000>;
171 regulator-boot-on; /* uboot sets this */
172 regulator-always-on; /* needed to read OS from HDD */
176 sata0pwr: sata0-regulator {
177 compatible = "regulator-fixed";
178 regulator-name = "Power Drive Port 0";
179 gpios = <&GPIO1 7 GPIO_ACTIVE_HIGH>;
180 regulator-min-microvolt = <12000000>;
181 regulator-max-microvolt = <12000000>;
182 regulator-boot-on; /* uboot sets this */
183 regulator-always-on; /* needed to read OS from HDD */
194 phy-mode = "rgmii-id";
197 #address-cells = <1>;
199 reset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;
202 compatible = "ethernet-phy-ieee802.3-c22";
223 drive0: sata-port@0 {
225 #thermal-sensor-cells = <0>;
232 drive1: sata-port@0 {
234 #thermal-sensor-cells = <0>;
245 vbus-supply = <&usbpwr>;