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 /* toggle to reset EMAC PHY */
65 line-name = "enable EMAC PHY";
66 gpios = <0 GPIO_ACTIVE_LOW>;
71 /* Defined in u-boot as: NOT_NOR
72 * "enables features other than NOR
73 * specifically, the buffer at CS2"
76 * Note: This option is disabled as
77 * it prevents the system from being
78 * rebooted successfully.
82 line-name = "Enable Reset Button, disable NOR";
83 gpios = <1 GPIO_ACTIVE_HIGH>;
89 line-name = "Power USB Core";
90 gpios = <2 GPIO_ACTIVE_LOW>;
96 line-name = "Power Drive Port 1";
97 gpios = <3 GPIO_ACTIVE_LOW>;
103 line-name = "Power Drive Port 0";
104 gpios = <7 GPIO_ACTIVE_LOW>;
109 GPIO2: gpio2@e0100000 {
110 compatible = "wd,mbl-gpio", "ti,74244";
112 reg = <0xe0100000 0x1>;
119 compatible = "gpio-leds";
121 failsafe: power-red {
122 label = "mbl:red:power";
123 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
124 linux,default-trigger = "panic";
127 status: power-green {
128 label = "mbl:green:power";
129 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
133 label = "mbl:blue:power";
134 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
139 compatible = "gpio-keys-polled";
140 #address-cells = <1>;
142 poll-interval = <60>; /* 3 * 20 = 60ms */
146 label = "Reset button";
147 linux,code = <KEY_RESTART>;
148 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;
161 #address-cells = <1>;
165 compatible = "ethernet-phy-ieee802.3-c22";