bmips: automatically detect RAM size
[openwrt/staging/rmilecki.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 keys {
17 compatible = "gpio-keys-polled";
18 poll-interval = <20>;
19
20 reset {
21 label = "reset";
22 gpios = <&pinctrl 34 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 debounce-interval = <60>;
25 };
26 };
27
28 leds {
29 compatible = "gpio-leds";
30
31 led@2 {
32 label = "green:dsl";
33 gpios = <&pinctrl 2 GPIO_ACTIVE_LOW>;
34 };
35
36 led@5 {
37 label = "green:internet";
38 gpios = <&pinctrl 5 GPIO_ACTIVE_HIGH>;
39 };
40
41 led_power_green: led@22 {
42 label = "green:power";
43 gpios = <&pinctrl 22 GPIO_ACTIVE_HIGH>;
44 };
45
46 led_power_red: led@24 {
47 label = "red:power";
48 gpios = <&pinctrl 24 GPIO_ACTIVE_HIGH>;
49 };
50
51 led@31 {
52 label = "red:internet";
53 gpios = <&pinctrl 31 GPIO_ACTIVE_HIGH>;
54 };
55 };
56 };
57
58 &ehci {
59 status = "okay";
60 };
61
62 &ohci {
63 status = "okay";
64 };
65
66 &pflash {
67 status = "okay";
68
69 partitions {
70 compatible = "fixed-partitions";
71 #address-cells = <1>;
72 #size-cells = <1>;
73
74 cfe: partition@0 {
75 label = "CFE";
76 reg = <0x0000000 0x0020000>;
77 read-only;
78 };
79
80 partition@20000 {
81 compatible = "brcm,bcm963xx-imagetag";
82 label = "firmware";
83 reg = <0x0020000 0x1fc0000>;
84 };
85
86 partition@1fe0000 {
87 label = "nvram";
88 reg = <0x1fe0000 0x020000>;
89 };
90 };
91 };
92
93 &pinctrl {
94 pinctrl-names = "default";
95 pinctrl-0 = <&pinctrl_pci &pinctrl_ephy0_led &pinctrl_ephy1_led
96 &pinctrl_ephy2_led &pinctrl_ephy3_led>;
97 };
98
99 &uart0 {
100 status = "okay";
101 };
102
103 &usbh {
104 status = "okay";
105 };