kernel: armsr: Renesas: RZ: Ethernet module and ttySC0
[openwrt/openwrt.git] / target / linux / ath79 / dts / ar9344_qxwlan_e750x.dtsi
1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
2
3 #include "ar9344.dtsi"
4
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
8
9 / {
10 aliases {
11 label-mac-device = &eth0;
12 led-boot = &led_system;
13 led-failsafe = &led_system;
14 led-running = &led_system;
15 led-upgrade = &led_system;
16 };
17
18 keys {
19 compatible = "gpio-keys";
20
21 reset {
22 label = "reset";
23 linux,code = <KEY_RESTART>;
24 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
25 debounce-interval = <60>;
26 };
27 };
28
29 leds: leds {
30 compatible = "gpio-leds";
31
32 led_system: system {
33 label = "green:system";
34 gpios = <&gpio 14 GPIO_ACTIVE_LOW>;
35 default-state = "on";
36 };
37
38 sig1 {
39 label = "green:sig1";
40 gpios = <&gpio 15 GPIO_ACTIVE_LOW>;
41 };
42
43 sig2 {
44 label = "green:sig2";
45 gpios = <&gpio 20 GPIO_ACTIVE_LOW>;
46 };
47
48 wlan {
49 function = LED_FUNCTION_WLAN;
50 color = <LED_COLOR_ID_GREEN>;
51 gpios = <&gpio 21 GPIO_ACTIVE_LOW>;
52 linux,default-trigger = "phy0tpt";
53 };
54 };
55 };
56
57 &pcie {
58 status = "okay";
59 };
60
61 &spi {
62 status = "okay";
63
64 flash@0 {
65 compatible = "jedec,spi-nor";
66 reg = <0>;
67 spi-max-frequency = <25000000>;
68
69 partitions: partitions {
70 compatible = "fixed-partitions";
71 #address-cells = <1>;
72 #size-cells = <1>;
73
74 partition@0 {
75 label = "u-boot";
76 reg = <0x000000 0x040000>;
77 read-only;
78 };
79
80 partition@40000 {
81 label = "u-boot-env";
82 reg = <0x040000 0x010000>;
83 read-only;
84 };
85
86 pridata: partition@50000 {
87 label = "pri-data";
88 reg = <0x050000 0x010000>;
89 read-only;
90
91 nvmem-layout {
92 compatible = "fixed-layout";
93 #address-cells = <1>;
94 #size-cells = <1>;
95
96 macaddr_pridata_400: macaddr@400 {
97 compatible = "mac-base";
98 reg = <0x400 0x6>;
99 #nvmem-cell-cells = <1>;
100 };
101 };
102 };
103
104 art: partition@60000 {
105 label = "art";
106 reg = <0x060000 0x010000>;
107 read-only;
108 };
109 };
110 };
111 };
112
113 &ref {
114 clock-frequency = <40000000>;
115 };
116
117 &wmac {
118 status = "okay";
119
120 mtd-cal-data = <&art 0x1000>;
121 };