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 = "microchip,sst39vf040", "jedec-flash";
27 reg = <0x00000000 0x00000000 0x00080000>;
32 /* Part of bootrom - Don't use it without a jump */
34 reg = <0x00000000 0x0001e000>;
40 reg = <0x0001e000 0x00002000>;
46 reg = <0x00020000 0x00050000>;
52 GPIO1: gpio@e0000000 {
53 compatible = "wd,mbl-gpio", "ti,74273";
55 reg = <0xe0000000 0x1>;
60 /* Defined in u-boot as: NOT_NOR
61 * "enables features other than NOR
62 * specifically, the buffer at CS2"
65 * Note: This option is disabled as
66 * it prevents the system from being
67 * rebooted successfully.
71 line-name = "Enable Reset Button, disable NOR";
72 gpios = <1 GPIO_ACTIVE_HIGH>;
77 GPIO2: gpio@e0100000 {
78 compatible = "wd,mbl-gpio", "ti,74244";
80 reg = <0xe0100000 0x1>;
87 compatible = "gpio-leds";
89 /* There's just one tri-color LED with three separate pins.
90 * One pin for each color (red, green and blue). Each has
91 * a different meaning.
94 color = <LED_COLOR_ID_RED>;
95 function = LED_FUNCTION_FAULT;
96 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
101 color = <LED_COLOR_ID_GREEN>;
102 function = LED_FUNCTION_POWER;
103 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
107 color = <LED_COLOR_ID_BLUE>;
108 function = LED_FUNCTION_DISK;
109 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
110 linux,default-trigger = "disk-activity";
115 compatible = "gpio-keys-polled";
116 poll-interval = <60>; /* 3 * 20 = 60ms */
120 label = "Reset button";
121 linux,code = <KEY_RESTART>;
122 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
126 usbpwr: usb-regulator {
127 compatible = "regulator-fixed";
128 regulator-name = "Power USB Core";
129 gpios = <&GPIO1 2 GPIO_ACTIVE_HIGH>;
130 regulator-min-microvolt = <5000000>;
131 regulator-max-microvolt = <5000000>;
132 regulator-boot-on; /* uboot sets this */
136 sata1pwr: sata1-regulator {
137 compatible = "regulator-fixed";
138 regulator-name = "Power Drive Port 1";
139 gpios = <&GPIO1 3 GPIO_ACTIVE_HIGH>;
140 regulator-min-microvolt = <12000000>;
141 regulator-max-microvolt = <12000000>;
142 regulator-boot-on; /* uboot sets this */
143 regulator-always-on; /* needed to read OS from HDD */
147 sata0pwr: sata0-regulator {
148 compatible = "regulator-fixed";
149 regulator-name = "Power Drive Port 0";
150 gpios = <&GPIO1 7 GPIO_ACTIVE_HIGH>;
151 regulator-min-microvolt = <12000000>;
152 regulator-max-microvolt = <12000000>;
153 regulator-boot-on; /* uboot sets this */
154 regulator-always-on; /* needed to read OS from HDD */
165 phy-mode = "rgmii-id";
168 #address-cells = <1>;
170 reset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;
173 compatible = "ethernet-phy-ieee802.3-c22";
194 drive0: sata-port@0 {
196 #thermal-sensor-cells = <0>;
203 drive1: sata-port@0 {
205 #thermal-sensor-cells = <0>;
216 vbus-supply = <&usbpwr>;