7ebd15342cf6c725e9669b4a90f4f45ff5443ba0
[oweals/openwrt.git] / target / linux / ath79 / dts / qca9563_elecom_wrc-300ghbk2-i.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2 /dts-v1/;
3
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
6
7 #include "qca9563_elecom_wrc-ghbk2-i.dtsi"
8
9 / {
10         model = "ELECOM WRC-300GHBK2-I";
11         compatible = "elecom,wrc-300ghbk2-i", "qca,qca9563";
12 };
13
14 &leds {
15         led_power: power {
16                 label = "elecom:white:power";
17                 gpios = <&gpio 1 GPIO_ACTIVE_HIGH>;
18                 default-state = "on";
19         };
20
21         wlan2g {
22                 label = "elecom:white:wlan2g";
23                 gpios = <&gpio 7 GPIO_ACTIVE_HIGH>;
24                 linux,default-trigger = "phy0tpt";
25         };
26 };
27
28 &partitions {
29         partition@70000 {
30                 compatible = "denx,uimage";
31                 label = "firmware";
32                 reg = <0x070000 0x770000>;
33         };
34
35         partition@7e0000 {
36                 label = "hwconfig";
37                 reg = <0x7e0000 0x010000>;
38                 read-only;
39         };
40
41         art: partition@7f0000 {
42                 label = "art";
43                 reg = <0x7f0000 0x010000>;
44                 read-only;
45         };
46 };