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.
10 #include "apm82181.dtsi"
13 compatible = "amcc,apollo3g";
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: gpio1@e0000000 {
53 compatible = "wd,mbl-gpio", "ti,74273";
55 reg = <0xe0000000 0x1>;
60 /* toggle to reset EMAC PHY */
62 line-name = "enable EMAC PHY";
63 gpios = <0 GPIO_ACTIVE_LOW>;
68 /* Defined in u-boot as: NOT_NOR
69 * "enables features other than NOR
70 * specifically, the buffer at CS2"
73 * Note: This option is disabled as
74 * it prevents the system from being
75 * rebooted successfully.
79 line-name = "Enable Reset Button, disable NOR";
80 gpios = <1 GPIO_ACTIVE_HIGH>;
86 line-name = "Power USB Core";
87 gpios = <2 GPIO_ACTIVE_LOW>;
94 line-name = "Power Drive Port 1";
95 gpios = <3 GPIO_ACTIVE_LOW>;
101 line-name = "Power Drive Port 0";
102 gpios = <7 GPIO_ACTIVE_LOW>;
108 GPIO2: gpio2@e0100000 {
109 compatible = "wd,mbl-gpio", "ti,74244";
111 reg = <0xe0100000 0x1>;
118 compatible = "gpio-leds";
120 failsafe: power-red {
121 label = "mbl:red:power";
122 gpios = <&GPIO1 4 GPIO_ACTIVE_HIGH>;
123 linux,default-trigger = "panic";
126 status: power-green {
127 label = "mbl:green:power";
128 gpios = <&GPIO1 5 GPIO_ACTIVE_HIGH>;
132 label = "mbl:blue:power";
133 gpios = <&GPIO1 6 GPIO_ACTIVE_HIGH>;
138 compatible = "gpio-keys-polled";
139 #address-cells = <1>;
141 poll-interval = <60>; /* 3 * 20 = 60ms */
145 label = "Reset button";
146 linux,code = <KEY_RESTART>;
147 gpios = <&GPIO2 2 GPIO_ACTIVE_LOW>;