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 "apm82181.dtsi"
12 compatible = "wd,mybooklive", "amcc,apollo3g";
13 model = "MyBook Live";
18 led-failsafe = &status;
19 led-running = &status;
20 led-upgrade = &status;
28 compatible = "amd,s29gl512n", "jedec-probe", "cfi-flash", "mtd-rom";
30 reg = <0x00000000 0x00000000 0x00080000>;
35 /* Part of bootrom - Don't use it without a jump */
37 reg = <0x00000000 0x0001e000>;
42 reg = <0x0001e000 0x00002000>;
47 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";
90 label = "mbl:red:power";
91 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
92 linux,default-trigger = "panic";
96 label = "mbl:green:power";
97 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
101 label = "mbl:blue:power";
102 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
103 linux,default-trigger = "disk-activity";
108 compatible = "gpio-keys-polled";
109 poll-interval = <60>; /* 3 * 20 = 60ms */
113 label = "Reset button";
114 linux,code = <KEY_RESTART>;
115 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
119 usbpwr: usb-regulator {
120 compatible = "regulator-fixed";
121 regulator-name = "Power USB Core";
122 gpios = <&GPIO1 2 GPIO_ACTIVE_LOW>;
123 regulator-min-microvolt = <5000000>;
124 regulator-max-microvolt = <5000000>;
127 sata1pwr: sata1-regulator {
128 compatible = "regulator-fixed";
129 regulator-name = "Power Drive Port 1";
130 gpios = <&GPIO1 3 GPIO_ACTIVE_LOW>;
131 regulator-min-microvolt = <12000000>;
132 regulator-max-microvolt = <12000000>;
133 regulator-always-on; /* needed to read OS from HDD */
136 sata0pwr: sata0-regulator {
137 compatible = "regulator-fixed";
138 regulator-name = "Power Drive Port 0";
139 gpios = <&GPIO1 7 GPIO_ACTIVE_LOW>;
140 regulator-min-microvolt = <12000000>;
141 regulator-max-microvolt = <12000000>;
142 regulator-always-on; /* needed to read OS from HDD */
154 #address-cells = <1>;
156 reset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;
159 compatible = "ethernet-phy-ieee802.3-c22";
180 drive0: sata-port@0 {
182 #thermal-sensor-cells = <0>;
189 drive1: sata-port@0 {
191 #thermal-sensor-cells = <0>;
202 vbus-supply = <&usbpwr>;