1/dts-v1/;
2
3#include "tegra124.dtsi"
4
5/ {
6	model = "NVIDIA Venice2";
7	compatible = "nvidia,venice2", "nvidia,tegra124";
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@700b0400";
22		spi0 = "/spi@7000d400";
23		spi1 = "/spi@7000da00";
24		usb0 = "/usb@7d000000";
25		usb1 = "/usb@7d008000";
26	};
27
28	memory {
29		device_type = "memory";
30		reg = <0x80000000 0x80000000>;
31	};
32
33	i2c@7000c000 {
34		status = "okay";
35		clock-frequency = <100000>;
36	};
37
38	i2c@7000c400 {
39		status = "okay";
40		clock-frequency = <100000>;
41	};
42
43	i2c@7000c500 {
44		status = "okay";
45		clock-frequency = <100000>;
46	};
47
48	i2c@7000c700 {
49		status = "okay";
50		clock-frequency = <100000>;
51	};
52
53	i2c@7000d000 {
54		status = "okay";
55		clock-frequency = <400000>;
56	};
57
58	i2c@7000d100 {
59		status = "okay";
60		clock-frequency = <400000>;
61	};
62
63	spi@7000d400 {
64		status = "okay";
65		spi-max-frequency = <25000000>;
66	};
67
68	spi@7000da00 {
69		status = "okay";
70		spi-max-frequency = <25000000>;
71	};
72
73	sdhci@700b0400 {
74		status = "okay";
75		cd-gpios = <&gpio TEGRA_GPIO(V, 2) GPIO_ACTIVE_HIGH>;
76		power-gpios = <&gpio TEGRA_GPIO(R, 0) GPIO_ACTIVE_HIGH>;
77		wp-gpios = <&gpio TEGRA_GPIO(Q, 4) GPIO_ACTIVE_LOW>;
78		bus-width = <4>;
79	};
80
81	sdhci@700b0600 {
82		status = "okay";
83		bus-width = <8>;
84		non-removable;
85	};
86
87	usb@7d000000 {
88		status = "okay";
89		dr_mode = "otg";
90		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 4) GPIO_ACTIVE_HIGH>;
91	};
92
93	usb@7d008000 {
94		status = "okay";
95		nvidia,vbus-gpio = <&gpio TEGRA_GPIO(N, 5) GPIO_ACTIVE_HIGH>;
96	};
97
98	clocks {
99		compatible = "simple-bus";
100		#address-cells = <1>;
101		#size-cells = <0>;
102
103		clk32k_in: clock@0 {
104			compatible = "fixed-clock";
105			reg = <0>;
106			#clock-cells = <0>;
107			clock-frequency = <32768>;
108		};
109	};
110
111};
112