bmips: add new target
[openwrt/staging/ldir.git] / target / linux / bmips / dts / bcm6368-comtrend-vr-3025u.dts
1 // SPDX-License-Identifier: GPL-2.0-or-later
2
3 #include "bcm6368.dtsi"
4
5 / {
6 model = "Comtrend VR-3025u";
7 compatible = "comtrend,vr-3025u", "brcm,bcm6368";
8
9 aliases {
10 led-boot = &led_power_green;
11 led-failsafe = &led_power_red;
12 led-running = &led_power_green;
13 led-upgrade = &led_power_green;
14 };
15
16 memory@0 {
17 device_type = "memory";
18 reg = <0x00000000 0x04000000>;
19 };
20
21 keys {
22 compatible = "gpio-keys-polled";
23 poll-interval = <20>;
24
25 reset {
26 label = "reset";
27 gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
28 linux,code = <KEY_RESTART>;
29 debounce-interval = <60>;
30 };
31 };
32
33 leds {
34 compatible = "gpio-leds";
35
36 led@2 {
37 label = "green:dsl";
38 gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>;
39 };
40
41 led@5 {
42 label = "green:internet";
43 gpios = <&pinctrl 5 GPIO_ACTIVE_HIGH>;
44 };
45
46 led_power_green: led@22 {
47 label = "green:power";
48 gpios = <&pinctrl 22 GPIO_ACTIVE_HIGH>;
49 };
50
51 led_power_red: led@24 {
52 label = "red:power";
53 gpios = <&pinctrl 24 GPIO_ACTIVE_HIGH>;
54 };
55
56 led@31 {
57 label = "red:internet";
58 gpios = <&pinctrl 31 GPIO_ACTIVE_HIGH>;
59 };
60 };
61 };
62
63 &ehci {
64 status = "okay";
65 };
66
67 &ohci {
68 status = "okay";
69 };
70
71 &pflash {
72 status = "okay";
73
74 partitions {
75 compatible = "fixed-partitions";
76 #address-cells = <1>;
77 #size-cells = <1>;
78
79 cfe: partition@0 {
80 label = "CFE";
81 reg = <0x0000000 0x0020000>;
82 read-only;
83 };
84
85 partition@20000 {
86 compatible = "brcm,bcm963xx-imagetag";
87 label = "firmware";
88 reg = <0x0020000 0x1fc0000>;
89 };
90
91 partition@1fe0000 {
92 label = "nvram";
93 reg = <0x1fe0000 0x020000>;
94 };
95 };
96 };
97
98 &pinctrl {
99 pinctrl-names = "default";
100 pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
101 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
102 };
103
104 &uart0 {
105 status = "okay";
106 };
107
108 &usbh {
109 status = "okay";
110 };