OpenWrt – Blame information for rev 3

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /*
2 * Device Tree Source for Meraki MR24 (Ikarem)
3 *
4 * Copyright (C) 2016 Chris Blake <chrisrblake93@gmail.com>
5 *
6 * Based on Cisco Meraki GPL Release r23-20150601 MR24 DTS
7 *
8 * This file is licensed under the terms of the GNU General Public
9 * License version 2. This program is licensed "as is" without
10 * any warranty of any kind, whether express or implied.
11 */
12  
13 /dts-v1/;
14  
15 #include "apm82181.dtsi"
16  
17 / {
18 model = "Meraki MR24 Access Point";
19 compatible = "meraki,mr24", "meraki,ikarem", "apm,bluestone";
20  
21 aliases {
22 serial0 = &UART1;
23 led-boot = &status;
24 led-failsafe = &failsafe;
25 led-running = &status;
26 led-upgrade = &status;
27 };
28  
29 chosen {
3 office 30 linux,stdout-path = "/plb/opb/serial@ef600400";
1 office 31 };
3 office 32  
1 office 33 };
34  
35  
36 &CRYPTO {
37 status = "okay";
38 };
39  
40 &PKA {
41 status = "okay";
42 };
43  
44 &TRNG {
45 status = "okay";
46 };
47  
48 &EBC0 {
49 /* Ikarem has 32MB of NAND */
50 ndfc@1,0 {
51 status = "okay";
52 /* 32 MiB NAND Flash */
53 nand {
3 office 54 #address-cells = <1>;
55 #size-cells = <1>;
56  
1 office 57 partition@0 {
58 label = "u-boot";
3 office 59 reg = <0x00000000 0x00170000>;
1 office 60 read-only;
61 };
62  
63 partition@170000 {
64 label = "oops";
65 reg = <0x00170000 0x00010000>;
66 };
67  
68 partition@180000 {
69 label = "ubi";
70 reg = <0x00180000 0x01e80000>;
71 };
72 };
73 };
74 };
75  
76 &UART1 {
77 status = "okay";
78 };
79  
80 &GPIO0 {
81 status = "okay";
82 };
83  
84 &IIC0 {
85 status = "okay";
86 /* Boot ROM is at 0x52-0x53, do not touch */
87 /* Unknown chip at 0x6e, not sure what it is */
88 };
89  
90 &EMAC0 {
91 status = "okay";
92  
93 phy-mode = "rgmii-id";
94 phy-map = <0x2>;
95 phy-address = <0x1>;
96 phy-handle = <&phy>;
97  
98 mdio {
99 phy: phy@1 {
100 compatible = "ethernet-phy-ieee802.3-c22";
101 reg = <1>;
102 };
103 };
104 };
105  
106 &POB0 {
3 office 107 gpio-leds {
1 office 108 compatible = "gpio-leds";
109  
110 status: power-green {
111 label = "mr24:green:power";
112 gpios = <&GPIO0 18 GPIO_ACTIVE_LOW>;
113 };
114  
115 failsafe: power-orange {
116 label = "mr24:orange:power";
117 gpios = <&GPIO0 19 GPIO_ACTIVE_LOW>;
118 };
119  
120 lan {
121 label = "mr24:green:wan";
122 gpios = <&GPIO0 17 GPIO_ACTIVE_LOW>;
123 };
124  
125 ssi-0 {
126 label = "mr24:green:wifi1";
127 gpios = <&GPIO0 23 GPIO_ACTIVE_LOW>;
128 };
129  
130 ssi-1 {
131 label = "mr24:green:wifi2";
132 gpios = <&GPIO0 22 GPIO_ACTIVE_LOW>;
133 };
134  
135 ssi-2 {
136 label = "mr24:green:wifi3";
137 gpios = <&GPIO0 21 GPIO_ACTIVE_LOW>;
138 };
139  
140 ssi-3 {
141 label = "mr24:green:wifi4";
142 gpios = <&GPIO0 20 GPIO_ACTIVE_LOW>;
143 };
144 };
145  
3 office 146 gpio_keys_polled {
1 office 147 compatible = "gpio-keys-polled";
148 #address-cells = <1>;
149 #size-cells = <0>;
150 poll-interval = <60>; /* 3 * 20 = 60ms */
151 autorepeat;
152  
3 office 153 button@1 {
154 label = "Reset button";
1 office 155 linux,code = <KEY_RESTART>;
156 gpios = <&GPIO0 16 GPIO_ACTIVE_LOW>;
157 };
158 };
159 };
160  
161 &PCIE0 {
162 status = "okay";
163 };
164  
165 &MSI {
166 status = "okay";
167 };