Merge tag 'for-v3.11' of git://git.infradead.org/battery-2.6
[deliverable/linux.git] / arch / arm / boot / dts / armada-370-mirabox.dts
1 /*
2 * Device Tree file for Globalscale Mirabox
3 *
4 * Gregory CLEMENT <gregory.clement@free-electrons.com>
5 *
6 * This file is licensed under the terms of the GNU General Public
7 * License version 2. This program is licensed "as is" without any
8 * warranty of any kind, whether express or implied.
9 */
10
11 /dts-v1/;
12 /include/ "armada-370.dtsi"
13
14 / {
15 model = "Globalscale Mirabox";
16 compatible = "globalscale,mirabox", "marvell,armada370", "marvell,armada-370-xp";
17
18 chosen {
19 bootargs = "console=ttyS0,115200 earlyprintk";
20 };
21
22 memory {
23 device_type = "memory";
24 reg = <0x00000000 0x20000000>; /* 512 MB */
25 };
26
27 soc {
28 internal-regs {
29 serial@12000 {
30 clock-frequency = <200000000>;
31 status = "okay";
32 };
33 timer@20300 {
34 clock-frequency = <600000000>;
35 status = "okay";
36 };
37
38 pinctrl {
39 pwr_led_pin: pwr-led-pin {
40 marvell,pins = "mpp63";
41 marvell,function = "gpo";
42 };
43
44 stat_led_pins: stat-led-pins {
45 marvell,pins = "mpp64", "mpp65";
46 marvell,function = "gpio";
47 };
48 };
49
50 gpio_leds {
51 compatible = "gpio-leds";
52 pinctrl-names = "default";
53 pinctrl-0 = <&pwr_led_pin &stat_led_pins>;
54
55 green_pwr_led {
56 label = "mirabox:green:pwr";
57 gpios = <&gpio1 31 1>;
58 linux,default-trigger = "heartbeat";
59 };
60
61 blue_stat_led {
62 label = "mirabox:blue:stat";
63 gpios = <&gpio2 0 1>;
64 linux,default-trigger = "cpu0";
65 };
66
67 green_stat_led {
68 label = "mirabox:green:stat";
69 gpios = <&gpio2 1 1>;
70 default-state = "off";
71 };
72 };
73
74 mdio {
75 phy0: ethernet-phy@0 {
76 reg = <0>;
77 };
78
79 phy1: ethernet-phy@1 {
80 reg = <1>;
81 };
82 };
83 ethernet@70000 {
84 status = "okay";
85 phy = <&phy0>;
86 phy-mode = "rgmii-id";
87 };
88 ethernet@74000 {
89 status = "okay";
90 phy = <&phy1>;
91 phy-mode = "rgmii-id";
92 };
93
94 mvsdio@d4000 {
95 pinctrl-0 = <&sdio_pins3>;
96 pinctrl-names = "default";
97 status = "okay";
98 /*
99 * No CD or WP GPIOs: SDIO interface used for
100 * Wifi/Bluetooth chip
101 */
102 broken-cd;
103 };
104
105 usb@50000 {
106 status = "okay";
107 };
108
109 usb@51000 {
110 status = "okay";
111 };
112
113 i2c@11000 {
114 status = "okay";
115 clock-frequency = <100000>;
116 pca9505: pca9505@25 {
117 compatible = "nxp,pca9505";
118 gpio-controller;
119 #gpio-cells = <2>;
120 reg = <0x25>;
121 };
122 };
123
124 pcie-controller {
125 status = "okay";
126
127 /* Internal mini-PCIe connector */
128 pcie@1,0 {
129 /* Port 0, Lane 0 */
130 status = "okay";
131 };
132
133 /* Connected on the PCB to a USB 3.0 XHCI controller */
134 pcie@2,0 {
135 /* Port 1, Lane 0 */
136 status = "okay";
137 };
138 };
139 };
140 };
141 };
This page took 0.052481 seconds and 5 git commands to generate.