xref: /freebsd-src/sys/contrib/device-tree/src/arm/rockchip/rk3036-evb.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot
3*f126890aSEmmanuel Vadot/dts-v1/;
4*f126890aSEmmanuel Vadot
5*f126890aSEmmanuel Vadot#include "rk3036.dtsi"
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/ {
8*f126890aSEmmanuel Vadot	model = "Rockchip RK3036 Evaluation board";
9*f126890aSEmmanuel Vadot	compatible = "rockchip,rk3036-evb", "rockchip,rk3036";
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot	memory@60000000 {
12*f126890aSEmmanuel Vadot		device_type = "memory";
13*f126890aSEmmanuel Vadot		reg = <0x60000000 0x40000000>;
14*f126890aSEmmanuel Vadot	};
15*f126890aSEmmanuel Vadot};
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot&emac {
18*f126890aSEmmanuel Vadot	phy = <&phy0>;
19*f126890aSEmmanuel Vadot	phy-reset-duration = <10>; /* millisecond */
20*f126890aSEmmanuel Vadot	phy-reset-gpios = <&gpio2 RK_PC6 GPIO_ACTIVE_LOW>; /* PHY_RST */
21*f126890aSEmmanuel Vadot	pinctrl-names = "default";
22*f126890aSEmmanuel Vadot	pinctrl-0 = <&emac_xfer>, <&emac_mdio>;
23*f126890aSEmmanuel Vadot	status = "okay";
24*f126890aSEmmanuel Vadot
25*f126890aSEmmanuel Vadot	mdio {
26*f126890aSEmmanuel Vadot		#address-cells = <1>;
27*f126890aSEmmanuel Vadot		#size-cells = <0>;
28*f126890aSEmmanuel Vadot
29*f126890aSEmmanuel Vadot		phy0: ethernet-phy@0 {
30*f126890aSEmmanuel Vadot			reg = <0>;
31*f126890aSEmmanuel Vadot		};
32*f126890aSEmmanuel Vadot	};
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&i2c1 {
36*f126890aSEmmanuel Vadot	status = "okay";
37*f126890aSEmmanuel Vadot
38*f126890aSEmmanuel Vadot	hym8563: rtc@51 {
39*f126890aSEmmanuel Vadot		compatible = "haoyu,hym8563";
40*f126890aSEmmanuel Vadot		reg = <0x51>;
41*f126890aSEmmanuel Vadot		#clock-cells = <0>;
42*f126890aSEmmanuel Vadot		clock-output-names = "xin32k";
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot&uart2 {
47*f126890aSEmmanuel Vadot	status = "okay";
48*f126890aSEmmanuel Vadot};
49