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 = "amd,s29gl512n", "jedec-probe", "cfi-flash", "mtd-rom";
27 reg = <0x00000000 0x00000000 0x00080000>;
32 /* Part of bootrom - Don't use it without a jump */
34 reg = <0x00000000 0x0001e000>;
39 reg = <0x0001e000 0x00002000>;
44 reg = <0x00020000 0x00050000>;
49 GPIO1: gpio@e0000000 {
50 compatible = "wd,mbl-gpio", "ti,74273";
52 reg = <0xe0000000 0x1>;
57 /* Defined in u-boot as: NOT_NOR
58 * "enables features other than NOR
59 * specifically, the buffer at CS2"
62 * Note: This option is disabled as
63 * it prevents the system from being
64 * rebooted successfully.
68 line-name = "Enable Reset Button, disable NOR";
69 gpios = <1 GPIO_ACTIVE_HIGH>;
74 GPIO2: gpio@e0100000 {
75 compatible = "wd,mbl-gpio", "ti,74244";
77 reg = <0xe0100000 0x1>;
84 compatible = "gpio-leds";
86 /* There's just one tri-color LED with three separate pins.
87 * One pin for each color (red, green and blue). Each has
88 * a different meaning.
91 color = <LED_COLOR_ID_RED>;
92 function = LED_FUNCTION_FAULT;
93 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
98 color = <LED_COLOR_ID_GREEN>;
99 function = LED_FUNCTION_POWER;
100 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
104 color = <LED_COLOR_ID_BLUE>;
105 function = LED_FUNCTION_DISK;
106 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
107 linux,default-trigger = "disk-activity";
112 compatible = "gpio-keys-polled";
113 poll-interval = <60>; /* 3 * 20 = 60ms */
117 label = "Reset button";
118 linux,code = <KEY_RESTART>;
119 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
123 usbpwr: usb-regulator {
124 compatible = "regulator-fixed";
125 regulator-name = "Power USB Core";
126 gpios = <&GPIO1 2 GPIO_ACTIVE_HIGH>;
127 regulator-min-microvolt = <5000000>;
128 regulator-max-microvolt = <5000000>;
129 regulator-boot-on; /* uboot sets this */
133 sata1pwr: sata1-regulator {
134 compatible = "regulator-fixed";
135 regulator-name = "Power Drive Port 1";
136 gpios = <&GPIO1 3 GPIO_ACTIVE_HIGH>;
137 regulator-min-microvolt = <12000000>;
138 regulator-max-microvolt = <12000000>;
139 regulator-boot-on; /* uboot sets this */
140 regulator-always-on; /* needed to read OS from HDD */
144 sata0pwr: sata0-regulator {
145 compatible = "regulator-fixed";
146 regulator-name = "Power Drive Port 0";
147 gpios = <&GPIO1 7 GPIO_ACTIVE_HIGH>;
148 regulator-min-microvolt = <12000000>;
149 regulator-max-microvolt = <12000000>;
150 regulator-boot-on; /* uboot sets this */
151 regulator-always-on; /* needed to read OS from HDD */
162 phy-mode = "rgmii-id";
165 #address-cells = <1>;
167 reset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;
170 compatible = "ethernet-phy-ieee802.3-c22";
191 drive0: sata-port@0 {
193 #thermal-sensor-cells = <0>;
200 drive1: sata-port@0 {
202 #thermal-sensor-cells = <0>;
213 vbus-supply = <&usbpwr>;