2 * Copyright 2008 DENX Software Engineering, Stefan Roese <sr@denx.de>
3 * (c) Copyright 2010 Western Digital Technologies, Inc. All Rights Reserved.
5 * This file is licensed under the terms of the GNU General Public
6 * License version 2. This program is licensed "as is" without
7 * any warranty of any kind, whether express or implied.
12 #include "apm82181.dtsi"
15 compatible = "wd,mybooklive", "amcc,apollo3g";
16 model = "MyBook Live";
21 led-failsafe = &status;
22 led-running = &status;
23 led-upgrade = &status;
31 compatible = "amd,s29gl512n", "jedec-probe", "cfi-flash", "mtd-rom";
33 reg = <0x00000000 0x00000000 0x00080000>;
38 /* Part of bootrom - Don't use it without a jump */
40 reg = <0x00000000 0x0001e000>;
45 reg = <0x0001e000 0x00002000>;
50 reg = <0x00020000 0x00050000>;
55 GPIO1: gpio1@e0000000 {
56 compatible = "wd,mbl-gpio", "ti,74273";
58 reg = <0xe0000000 0x1>;
63 /* Defined in u-boot as: NOT_NOR
64 * "enables features other than NOR
65 * specifically, the buffer at CS2"
68 * Note: This option is disabled as
69 * it prevents the system from being
70 * rebooted successfully.
74 line-name = "Enable Reset Button, disable NOR";
75 gpios = <1 GPIO_ACTIVE_HIGH>;
80 GPIO2: gpio2@e0100000 {
81 compatible = "wd,mbl-gpio", "ti,74244";
83 reg = <0xe0100000 0x1>;
90 compatible = "gpio-leds";
93 label = "mbl:red:power";
94 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
95 linux,default-trigger = "panic";
99 label = "mbl:green:power";
100 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
104 label = "mbl:blue:power";
105 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
106 linux,default-trigger = "disk-activity";
111 compatible = "gpio-keys-polled";
112 #address-cells = <1>;
114 poll-interval = <60>; /* 3 * 20 = 60ms */
118 label = "Reset button";
119 linux,code = <KEY_RESTART>;
120 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
124 usbpwr: usb-regulator {
125 compatible = "regulator-fixed";
126 regulator-name = "Power USB Core";
127 gpios = <&GPIO1 2 GPIO_ACTIVE_LOW>;
128 regulator-min-microvolt = <5000000>;
129 regulator-max-microvolt = <5000000>;
132 sata1pwr: sata1-regulator {
133 compatible = "regulator-fixed";
134 regulator-name = "Power Drive Port 1";
135 gpios = <&GPIO1 3 GPIO_ACTIVE_LOW>;
136 regulator-min-microvolt = <12000000>;
137 regulator-max-microvolt = <12000000>;
138 regulator-always-on; /* needed to read OS from HDD */
141 sata0pwr: sata0-regulator {
142 compatible = "regulator-fixed";
143 regulator-name = "Power Drive Port 0";
144 gpios = <&GPIO1 7 GPIO_ACTIVE_LOW>;
145 regulator-min-microvolt = <12000000>;
146 regulator-max-microvolt = <12000000>;
147 regulator-always-on; /* needed to read OS from HDD */
159 #address-cells = <1>;
161 reset-gpios = <&GPIO1 0 GPIO_ACTIVE_LOW>;
164 compatible = "ethernet-phy-ieee802.3-c22";
197 vbus-supply = <&usbpwr>;