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
60			dev-ctrl = /bits/ 8 <0x80>;
61			init-brt = /bits/ 8 <0xff>;
62
63			pwm-period = <29334>;
64
65			pwms = <&pwm 0 29334>;
66			pwm-names = "lp8557";
67
68			/* 3 LED string */
69			rom_14h {
70				rom-addr = /bits/ 8 <0x14>;
71				rom-val = /bits/ 8 <0x87>;
72			};
73
74			/* boost frequency 1 MHz */
75			rom_13h {
76				rom-addr = /bits/ 8 <0x13>;
77				rom-val = /bits/ 8 <0x01>;
78			};
79		};
80	};
81
82	i2c@7000c500 {
83		/* carrier board ID EEPROM */
84		eeprom@57 {
85			compatible = "atmel,24c02";
86			reg = <0x57>;
87
88			address-bits = <8>;
89			page-size = <8>;
90			size = <256>;
91			read-only;
92		};
93	};
94
95	clock@70110000 {
96		status = "okay";
97
98		nvidia,cf = <6>;
99		nvidia,ci = <0>;
100		nvidia,cg = <2>;
101		nvidia,droop-ctrl = <0x00000f00>;
102		nvidia,force-mode = <1>;
103		nvidia,sample-rate = <25000>;
104
105		nvidia,pwm-min-microvolts = <708000>;
106		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
107		nvidia,pwm-to-pmic;
108		nvidia,pwm-tristate-microvolts = <1000000>;
109		nvidia,pwm-voltage-step-microvolts = <19200>;
110
111		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
112		pinctrl-0 = <&dvfs_pwm_active_state>;
113		pinctrl-1 = <&dvfs_pwm_inactive_state>;
114	};
115
116	aconnect@702c0000 {
117		status = "okay";
118
119		dma@702e2000 {
120			status = "okay";
121		};
122
123		agic@702f9000 {
124			status = "okay";
125		};
126	};
127};
128