1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 #include "qca953x.dtsi"
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/input.h>
7 #include <dt-bindings/leds/common.h>
10 compatible = "joyit,jt-or750i", "qca,qca9531";
11 model = "Joy-IT JT-OR750i";
14 led-boot = &led_status_green;
15 led-failsafe = &led_status_red;
16 led-running = &led_status_green;
17 led-upgrade = &led_status_red;
18 label-mac-device = ð0;
22 compatible = "gpio-keys";
26 linux,code = <KEY_RESTART>;
27 gpios = <&gpio 17 GPIO_ACTIVE_LOW>;
32 compatible = "gpio-leds";
34 pinctrl-names = "default";
35 pinctrl-0 = <&jtag_disable_pins &pinmux_led_eth_pins>;
37 led_status_green: status_green {
38 function = LED_FUNCTION_STATUS;
39 color = <LED_COLOR_ID_GREEN>;
40 gpios = <&gpio 13 GPIO_ACTIVE_LOW>;
44 led_status_red: status_red {
45 function = LED_FUNCTION_STATUS;
46 color = <LED_COLOR_ID_RED>;
47 gpios = <&gpio 12 GPIO_ACTIVE_LOW>;
53 pinmux_led_eth_pins: pinmux_led_eth_pins {
54 pinctrl-single,bits = \
55 /* GPIO 4: LED_LINK_5 (WAN) */ \
56 <0x04 0x0000002d 0x000000ff>, \
57 /* GPIO 14: LED_LINK_2 (LAN 3) */ \
58 /* GPIO 15: LED_LINK_3 (LAN 2) */ \
59 <0x0c 0x2b2a0000 0xffff0000>, \
60 /* GPIO 16: LED_LINK_4 (LAN 1) */ \
61 <0x10 0x0000002c 0x000000ff>;
69 compatible = "jedec,spi-nor";
71 spi-max-frequency = <50000000>;
74 compatible = "fixed-partitions";
86 reg = <0x40000 0x10000>;
92 reg = <0x50000 0xfa0000>;
93 compatible = "denx,uimage";
96 art: partition@ff0000 {
98 reg = <0xff0000 0x10000>;
102 compatible = "fixed-layout";
103 #address-cells = <1>;
106 macaddr_art_0: macaddr@0 {
110 macaddr_art_6: macaddr@6 {
114 cal_art_5000: calibration@5000 {
115 reg = <0x5000 0x844>;
126 phy-handle = <&swphy4>;
128 nvmem-cells = <&macaddr_art_0>;
129 nvmem-cell-names = "mac-address";
133 nvmem-cells = <&macaddr_art_6>;
134 nvmem-cell-names = "mac-address";
141 compatible = "qcom,ath10k";
142 reg = <0x0000 0 0 0 0>;
143 nvmem-cells = <&cal_art_5000>;
144 nvmem-cell-names = "calibration";
151 mtd-cal-data = <&art 0x1000>;