1// SPDX-License-Identifier: GPL-2.0
2/dts-v1/;
3
4#include "tegra210-p2180.dtsi"
5#include "tegra210-p2597.dtsi"
6
7/ {
8	model = "NVIDIA Jetson TX1 Developer Kit";
9	compatible = "nvidia,p2371-2180", "nvidia,tegra210";
10
11	pcie@1003000 {
12		status = "okay";
13
14		avdd-pll-uerefe-supply = <&avdd_1v05_pll>;
15		hvddio-pex-supply = <&vdd_1v8>;
16		dvddio-pex-supply = <&vdd_pex_1v05>;
17		dvdd-pex-pll-supply = <&vdd_pex_1v05>;
18		hvdd-pex-pll-e-supply = <&vdd_1v8>;
19		vddio-pex-ctl-supply = <&vdd_1v8>;
20
21		pci@1,0 {
22			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-0}>,
23			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-1}>,
24			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-2}>,
25			       <&{/padctl@7009f000/pads/pcie/lanes/pcie-3}>;
26			phy-names = "pcie-0", "pcie-1", "pcie-2", "pcie-3";
27			status = "okay";
28		};
29
30		pci@2,0 {
31			phys = <&{/padctl@7009f000/pads/pcie/lanes/pcie-4}>;
32			phy-names = "pcie-0";
33			status = "okay";
34		};
35	};
36
37	host1x@50000000 {
38		dsi@54300000 {
39			status = "okay";
40
41			avdd-dsi-csi-supply = <&vdd_dsi_csi>;
42
43			panel@0 {
44				compatible = "auo,b080uan01";
45				reg = <0>;
46
47				enable-gpios = <&gpio TEGRA_GPIO(V, 2)
48						GPIO_ACTIVE_HIGH>;
49				power-supply = <&vdd_5v0_io>;
50				backlight = <&backlight>;
51			};
52		};
53	};
54
55	i2c@7000c400 {
56		backlight: backlight@2c {
57			compatible = "ti,lp8557";
58			reg = <0x2c>;
59			power-supply = <&vdd_3v3_sys>;
60
61			dev-ctrl = /bits/ 8 <0x80>;
62			init-brt = /bits/ 8 <0xff>;
63
64			pwm-period = <29334>;
65
66			pwms = <&pwm 0 29334>;
67			pwm-names = "lp8557";
68
69			/* 3 LED string */
70			rom_14h {
71				rom-addr = /bits/ 8 <0x14>;
72				rom-val = /bits/ 8 <0x87>;
73			};
74
75			/* boost frequency 1 MHz */
76			rom_13h {
77				rom-addr = /bits/ 8 <0x13>;
78				rom-val = /bits/ 8 <0x01>;
79			};
80		};
81	};
82
83	i2c@7000c500 {
84		/* carrier board ID EEPROM */
85		eeprom@57 {
86			compatible = "atmel,24c02";
87			reg = <0x57>;
88
89			label = "system";
90			vcc-supply = <&vdd_1v8>;
91			address-width = <8>;
92			pagesize = <8>;
93			size = <256>;
94			read-only;
95		};
96	};
97
98	clock@70110000 {
99		status = "okay";
100
101		nvidia,cf = <6>;
102		nvidia,ci = <0>;
103		nvidia,cg = <2>;
104		nvidia,droop-ctrl = <0x00000f00>;
105		nvidia,force-mode = <1>;
106		nvidia,sample-rate = <25000>;
107
108		nvidia,pwm-min-microvolts = <708000>;
109		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
110		nvidia,pwm-to-pmic;
111		nvidia,pwm-tristate-microvolts = <1000000>;
112		nvidia,pwm-voltage-step-microvolts = <19200>;
113
114		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
115		pinctrl-0 = <&dvfs_pwm_active_state>;
116		pinctrl-1 = <&dvfs_pwm_inactive_state>;
117	};
118
119	aconnect@702c0000 {
120		status = "okay";
121
122		dma-controller@702e2000 {
123			status = "okay";
124		};
125
126		interrupt-controller@702f9000 {
127			status = "okay";
128		};
129	};
130};
131