-
Notifications
You must be signed in to change notification settings - Fork 9
/
snickerdoodle-black-pismasher.dts
91 lines (78 loc) · 1.65 KB
/
snickerdoodle-black-pismasher.dts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/**
* Copyright (c) 2018 krtkl inc.
*
* snickerdoodle Black piSmasher Device Tree Source
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 as published by
* the Free Software Foundation.
*/
/dts-v1/;
/include/ "snickerdoodle-black.dtsi"
/include/ "uio.dtsi"
/ {
aliases {
ethernet0 = &gem0;
ethernet1 = &gem1;
};
power_en_reg: fixed-regulator-powen {
compatible = "regulator-fixed";
regulator-name = "power-en-regulator";
gpio = <&gpio0 20 4>;
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
startup-delay-us = <70000>;
regulator-always-on;
enable-active-high;
};
usb_phy0: usb-phy0 {
compatible = "usb-nop-xceiv";
#phy-cells = <0>;
view-port = <0x170>;
drv-vbus;
};
};
&i2c1 {
status = "okay";
clock-frequency = <100000>;
usb2514b@2c {
compatible = "microchip,usb2514b";
reg = <0x2c>;
reset-gpios = <&gpio0 16 1>;
};
};
&usb0 {
status = "okay";
dr_mode = "host";
usb-phy = <&usb_phy0>;
};
&gem0 {
status = "okay";
phy-mode = "rgmii-id";
reset-gpios = <&gpio0 19 1>;
eth_phy0: ethernet-phy@0 {
compatible = "marvell,88E1510";
reg = <0>;
device_type = "ethernet-phy";
};
gmii2rgmii0: gmiitorgmii@8 {
compatible = "xlnx,gmii-to-rgmii-1.0";
reg = <8>;
phy-handle = <ð_phy0>;
};
};
&gem1 {
status = "okay";
phy-mode = "rgmii-id";
reset-gpios = <&gpio0 17 1>;
eth_phy1: ethernet-phy@1 {
compatible = "marvell,88E1510";
reg = <0>;
device_type = "ethernet-phy";
};
gmii2rgmii1: gmiitorgmii@9 {
compatible = "xlnx,gmii-to-rgmii-1.0";
reg = <9>;
phy-handle = <ð_phy1>;
};
};