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			vcc-supply = <&vdd_1v8>;
90			address-bits = <8>;
91			page-size = <8>;
92			size = <256>;
93			read-only;
94		};
95	};
96
97	clock@70110000 {
98		status = "okay";
99
100		nvidia,cf = <6>;
101		nvidia,ci = <0>;
102		nvidia,cg = <2>;
103		nvidia,droop-ctrl = <0x00000f00>;
104		nvidia,force-mode = <1>;
105		nvidia,sample-rate = <25000>;
106
107		nvidia,pwm-min-microvolts = <708000>;
108		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
109		nvidia,pwm-to-pmic;
110		nvidia,pwm-tristate-microvolts = <1000000>;
111		nvidia,pwm-voltage-step-microvolts = <19200>;
112
113		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
114		pinctrl-0 = <&dvfs_pwm_active_state>;
115		pinctrl-1 = <&dvfs_pwm_inactive_state>;
116	};
117
118	aconnect@702c0000 {
119		status = "okay";
120
121		dma@702e2000 {
122			status = "okay";
123		};
124
125		agic@702f9000 {
126			status = "okay";
127		};
128	};
129};
130