2 * Aerohive HiveAP-330 Device Tree Source
4 * Copyright (C) 2017 Chris Blake <chrisrblake93@gmail.com>
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version.
12 /include/ "fsl/p1020si-pre.dtsi"
14 model = "Aerohive HiveAP-330";
15 compatible = "aerohive,hiveap-330";
18 bootargs-override = "console=ttyS0,9600";
22 device_type = "memory";
25 board_lbc: lbc: localbus@ffe05000 {
26 reg = <0 0xffe05000 0 0x1000>;
27 ranges = <0x0 0x0 0x0 0xec000000 0x4000000>;
32 compatible = "cfi-flash";
33 reg = <0x0 0x0 0x4000000>;
43 reg = <0x40000 0x40000>;
48 reg = <0x80000 0x27c0000>;
53 reg = <0x2840000 0x800000>;
58 reg = <0x3040000 0xec0000>;
59 label = "stock-jffs2";
63 hwinfo: partition@3f00000 {
64 reg = <0x3f00000 0x20000>;
70 reg = <0x3f20000 0x20000>;
76 reg = <0x3f40000 0x20000>;
77 label = "boot-info-backup";
82 reg = <0x3f60000 0x20000>;
87 reg = <0x3f80000 0x80000>;
93 reg = <0x0 0x3040000>;
99 board_soc: soc: soc@ffe00000 {
100 ranges = <0x0 0x0 0xffe00000 0x100000>;
104 compatible = "atmel,at97sc3204t";
109 compatible = "national,lp5521";
111 clock-mode = /bits/ 8 <2>;
113 chan-name = "hiveap-330:red:tricolor0";
114 led-cur = /bits/ 8 <0x2f>;
115 max-cur = /bits/ 8 <0x5f>;
118 chan-name = "hiveap-330:green:tricolor0";
119 led-cur = /bits/ 8 <0x2f>;
120 max-cur = /bits/ 8 <0x5f>;
123 chan-name = "hiveap-330:blue:tricolor0";
124 led-cur = /bits/ 8 <0x2f>;
125 max-cur = /bits/ 8 <0x5f>;
129 /* Most likely SoC boot config */
131 compatible = "eeprom";
137 phy0: ethernet-phy@0 {
138 interrupts = <3 1 0 0>;
142 phy1: ethernet-phy@1 {
143 interrupts = <2 1 0 0>;
156 enet0: ethernet@b0000 {
158 phy-handle = <&phy0>;
159 phy-connection-type = "rgmii-id";
160 mtd-mac-address = <&hwinfo 0>;
163 enet1: ethernet@b1000 {
167 enet2: ethernet@b2000 {
169 phy-handle = <&phy1>;
170 phy-connection-type = "rgmii-id";
171 mtd-mac-address = <&hwinfo 0>;
172 mtd-mac-address-increment = <1>;
175 gpio0: gpio-controller@fc00 {
188 pci0: pcie@ffe09000 {
189 reg = <0x0 0xffe09000 0x0 0x1000>;
190 ranges = <0x2000000 0x0 0xa0000000 0x0 0xa0000000 0x0 0x20000000
191 0x1000000 0x0 0x00000000 0x0 0xffc30000 0x0 0x10000>;
193 ranges = <0x2000000 0x0 0xa0000000
194 0x2000000 0x0 0xa0000000
203 pci1: pcie@ffe0a000 {
204 reg = <0x0 0xffe0a000 0x0 0x1000>;
205 ranges = <0x2000000 0x0 0xc0000000 0x0 0xc0000000 0x0 0x20000000
206 0x1000000 0x0 0x00000000 0x0 0xffc20000 0x0 0x10000>;
208 ranges = <0x2000000 0x0 0xc0000000
209 0x2000000 0x0 0xc0000000
219 compatible = "gpio-keys";
222 label = "Reset button";
223 gpios = <&gpio0 8 1>; /* active low */
224 linux,code = <0x198>; /* KEY_RESTART */
228 /include/ "fsl/p1020si-post.dtsi"