xref: /linux/scripts/dtc/include-prefixes/arm/rockchip/rk3228-evb.dts (revision c34e9ab9a612ee8b18273398ef75c207b01f516d)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2724ba675SRob Herring
3724ba675SRob Herring/dts-v1/;
4724ba675SRob Herring
5724ba675SRob Herring#include "rk322x.dtsi"
6724ba675SRob Herring
7724ba675SRob Herring/ {
8724ba675SRob Herring	model = "Rockchip RK3228 Evaluation board";
9724ba675SRob Herring	compatible = "rockchip,rk3228-evb", "rockchip,rk3228";
10724ba675SRob Herring
11724ba675SRob Herring	aliases {
12724ba675SRob Herring		mmc0 = &emmc;
13724ba675SRob Herring	};
14724ba675SRob Herring
15724ba675SRob Herring	memory@60000000 {
16724ba675SRob Herring		device_type = "memory";
17724ba675SRob Herring		reg = <0x60000000 0x40000000>;
18724ba675SRob Herring	};
19724ba675SRob Herring
20*2c3944d9SJohan Jonker	vcc_phy: regulator-vcc-phy {
21724ba675SRob Herring		compatible = "regulator-fixed";
22724ba675SRob Herring		enable-active-high;
23724ba675SRob Herring		regulator-name = "vcc_phy";
24724ba675SRob Herring		regulator-min-microvolt = <1800000>;
25724ba675SRob Herring		regulator-max-microvolt = <1800000>;
26724ba675SRob Herring		regulator-always-on;
27724ba675SRob Herring		regulator-boot-on;
28724ba675SRob Herring	};
29724ba675SRob Herring};
30724ba675SRob Herring
31724ba675SRob Herring&emmc {
32724ba675SRob Herring	cap-mmc-highspeed;
33724ba675SRob Herring	mmc-ddr-1_8v;
34724ba675SRob Herring	disable-wp;
35724ba675SRob Herring	non-removable;
36724ba675SRob Herring	status = "okay";
37724ba675SRob Herring};
38724ba675SRob Herring
39724ba675SRob Herring&gmac {
40724ba675SRob Herring	assigned-clocks = <&cru SCLK_MAC_SRC>;
41724ba675SRob Herring	assigned-clock-rates = <50000000>;
42724ba675SRob Herring	clock_in_out = "output";
43724ba675SRob Herring	phy-supply = <&vcc_phy>;
44724ba675SRob Herring	phy-mode = "rmii";
45724ba675SRob Herring	phy-handle = <&phy>;
46724ba675SRob Herring	status = "okay";
47724ba675SRob Herring
48724ba675SRob Herring	mdio {
49724ba675SRob Herring		compatible = "snps,dwmac-mdio";
50724ba675SRob Herring		#address-cells = <1>;
51724ba675SRob Herring		#size-cells = <0>;
52724ba675SRob Herring
53724ba675SRob Herring		phy: ethernet-phy@0 {
54724ba675SRob Herring			compatible = "ethernet-phy-id1234.d400", "ethernet-phy-ieee802.3-c22";
55724ba675SRob Herring			reg = <0>;
56724ba675SRob Herring			clocks = <&cru SCLK_MAC_PHY>;
57724ba675SRob Herring			resets = <&cru SRST_MACPHY>;
58724ba675SRob Herring			phy-is-integrated;
59724ba675SRob Herring		};
60724ba675SRob Herring	};
61724ba675SRob Herring};
62724ba675SRob Herring
63724ba675SRob Herring&tsadc {
64724ba675SRob Herring	status = "okay";
65724ba675SRob Herring
66724ba675SRob Herring	rockchip,hw-tshut-mode = <0>; /* tshut mode 0:CRU 1:GPIO */
67724ba675SRob Herring	rockchip,hw-tshut-polarity = <1>; /* tshut polarity 0:LOW 1:HIGH */
68724ba675SRob Herring};
69724ba675SRob Herring
70724ba675SRob Herring&uart2 {
71724ba675SRob Herring	status = "okay";
72724ba675SRob Herring};
73