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	clock@70110000 {
83		status = "okay";
84
85		nvidia,cf = <6>;
86		nvidia,ci = <0>;
87		nvidia,cg = <2>;
88		nvidia,droop-ctrl = <0x00000f00>;
89		nvidia,force-mode = <1>;
90		nvidia,sample-rate = <25000>;
91
92		nvidia,pwm-min-microvolts = <708000>;
93		nvidia,pwm-period-nanoseconds = <2500>; /* 2.5us */
94		nvidia,pwm-to-pmic;
95		nvidia,pwm-tristate-microvolts = <1000000>;
96		nvidia,pwm-voltage-step-microvolts = <19200>;
97
98		pinctrl-names = "dvfs_pwm_enable", "dvfs_pwm_disable";
99		pinctrl-0 = <&dvfs_pwm_active_state>;
100		pinctrl-1 = <&dvfs_pwm_inactive_state>;
101	};
102};
103