2 * Device Tree file for Excito Bubba B3
4 * Copyright (C) 2013, Andrew Lunn <andrew@lunn.ch>
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * as published by the Free Software Foundation; either version
9 * 2 of the License, or (at your option) any later version.
11 * Note: This requires a new'ish version of u-boot, which disables the
12 * L2 cache. If your B3 silently fails to boot, u-boot is probably too
13 * old. Either upgrade, or consider the following email:
15 * http://lists.debian.org/debian-arm/2012/08/msg00128.html
20 #include "kirkwood.dtsi"
21 #include "kirkwood-6281.dtsi"
25 compatible = "excito,b3", "marvell,kirkwood-88f6281", "marvell,kirkwood";
27 device_type = "memory";
28 reg = <0x00000000 0x20000000>;
32 bootargs = "console=ttyS0,115200n8 earlyprintk";
39 /* Wifi model has Atheros chipset on pcie port */
47 pinctrl: pinctrl@10000 {
48 pmx_button_power: pmx-button-power {
49 marvell,pins = "mpp39";
50 marvell,function = "gpio";
52 pmx_led_green: pmx-led-green {
53 marvell,pins = "mpp38";
54 marvell,function = "gpio";
56 pmx_led_red: pmx-led-red {
57 marvell,pins = "mpp41";
58 marvell,function = "gpio";
60 pmx_led_blue: pmx-led-blue {
61 marvell,pins = "mpp42";
62 marvell,function = "gpio";
64 pmx_beeper: pmx-beeper {
65 marvell,pins = "mpp40";
66 marvell,function = "gpio";
72 pinctrl-0 = <&pmx_spi>;
73 pinctrl-names = "default";
78 compatible = "m25p16";
80 spi-max-frequency = <40000000>;
89 reg = <0xc0000 0x20000>;
94 reg = <0xe0000 0x120000>;
103 * There is something on the bus at address 0x64.
104 * Not yet identified what it is, maybe the eeprom
105 * for the Atheros WiFi chip?
111 /* Internal on test pins, 3.3v TTL
112 * UART0_RX = Testpoint 65
113 * UART0_TX = Testpoint 66
114 * See the Excito Wiki for more details.
116 pinctrl-0 = <&pmx_uart0>;
117 pinctrl-names = "default";
122 /* One internal, the second as eSATA */
130 * There is one LED "port" on the front and the colours
131 * mix together giving some interesting combinations.
133 compatible = "gpio-leds";
134 pinctrl-0 = < &pmx_led_green &pmx_led_red
136 pinctrl-names = "default";
139 label = "bubba3:green:programming";
140 gpios = <&gpio1 6 GPIO_ACTIVE_HIGH>;
141 default-state = "off";
145 label = "bubba3:red:error";
146 gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
150 label = "bubba3:blue:active";
151 gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
156 compatible = "gpio-keys";
157 pinctrl-0 = <&pmx_button_power>;
158 pinctrl-names = "default";
162 label = "Power Button";
163 linux,code = <KEY_POWER>;
164 gpios = <&gpio1 7 GPIO_ACTIVE_LOW>;
169 /* 4KHz Piezoelectric buzzer */
170 compatible = "gpio-beeper";
171 pinctrl-0 = <&pmx_beeper>;
172 pinctrl-names = "default";
173 gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
180 ethphy0: ethernet-phy@8 {
181 device_type = "ethernet-phy";
185 ethphy1: ethernet-phy@24 {
186 device_type = "ethernet-phy";
194 phy-handle = <ðphy0>;
201 phy-handle = <ðphy1>;