ramips: mt7620: power up ephy port 4
[openwrt/staging/mkresin.git] / target / linux / ramips / dts / WT1520.dtsi
1 #include "rt5350.dtsi"
2
3 #include <dt-bindings/gpio/gpio.h>
4 #include <dt-bindings/input/input.h>
5
6 / {
7 compatible = "nexx,wt1520", "ralink,rt5350-soc";
8
9 memory@0 {
10 device_type = "memory";
11 reg = <0x0 0x2000000>;
12 };
13
14 gpio-keys-polled {
15 compatible = "gpio-keys-polled";
16 #address-cells = <1>;
17 #size-cells = <0>;
18 poll-interval = <20>;
19
20 reset {
21 label = "reset";
22 gpios = <&gpio0 10 GPIO_ACTIVE_LOW>;
23 linux,code = <KEY_RESTART>;
24 };
25 };
26 };
27
28 &pinctrl {
29 state_default: pinctrl0 {
30 gpio {
31 ralink,group = "jtag", "uartf";
32 ralink,function = "gpio";
33 };
34 };
35 };
36
37 &ethernet {
38 mtd-mac-address = <&factory 0x4>;
39 };
40
41 &wmac {
42 ralink,mtd-eeprom = <&factory 0>;
43 };
44
45 &ehci {
46 status = "okay";
47 };
48
49 &ohci {
50 status = "okay";
51 };