1/dts-v1/;
2
3#include "tegra210.dtsi"
4
5/ {
6	model = "NVIDIA P2571";
7	compatible = "nvidia,p2571", "nvidia,tegra210";
8
9	chosen {
10		stdout-path = &uarta;
11	};
12
13	aliases {
14		i2c0 = "/i2c@7000d000";
15		i2c1 = "/i2c@7000c000";
16		i2c2 = "/i2c@7000c400";
17		i2c3 = "/i2c@7000c500";
18		i2c4 = "/i2c@7000c700";
19		i2c5 = "/i2c@7000d100";
20		mmc0 = "/sdhci@700b0600";
21		mmc1 = "/sdhci@700b0000";
22		spi0 = "/spi@7000d400";
23		spi1 = "/spi@7000da00";
24		spi2 = "/spi@70410000";
25		usb0 = "/usb@7d000000";
26	};
27
28	memory {
29		reg = <0x0 0x80000000 0x0 0xc0000000>;
30	};
31
32	i2c@7000c000 {
33		status = "okay";
34		clock-frequency = <100000>;
35	};
36
37	i2c@7000c400 {
38		status = "okay";
39		clock-frequency = <100000>;
40	};
41
42	i2c@7000c500 {
43		status = "okay";
44		clock-frequency = <100000>;
45	};
46
47	i2c@7000c700 {
48		status = "okay";
49		clock-frequency = <100000>;
50	};
51
52	i2c@7000d000 {
53		status = "okay";
54		clock-frequency = <400000>;
55	};
56
57	i2c@7000d100 {
58		status = "okay";
59		clock-frequency = <400000>;
60	};
61
62	spi@7000d400 {
63		status = "okay";
64		spi-max-frequency = <25000000>;
65	};
66
67	spi@7000da00 {
68		status = "okay";
69		spi-max-frequency = <25000000>;
70	};
71
72	spi@70410000 {
73		status = "okay";
74		spi-max-frequency = <24000000>;
75	};
76
77	sdhci@700b0000 {
78		status = "okay";
79		cd-gpios = <&gpio TEGRA_GPIO(Z, 1) GPIO_ACTIVE_LOW>;
80		power-gpios = <&gpio TEGRA_GPIO(Z, 4) GPIO_ACTIVE_HIGH>;
81		bus-width = <4>;
82	};
83
84	sdhci@700b0600 {
85		status = "okay";
86		bus-width = <8>;
87		non-removable;
88	};
89
90	usb@7d000000 {
91		status = "okay";
92		dr_mode = "otg";
93	};
94
95	clocks {
96		compatible = "simple-bus";
97		#address-cells = <1>;
98		#size-cells = <0>;
99
100		clk32k_in: clock@0 {
101			compatible = "fixed-clock";
102			reg = <0>;
103			#clock-cells = <0>;
104			clock-frequency = <32768>;
105		};
106	};
107};
108
109&uarta {
110	status = "okay";
111};
112