xref: /trueos/sys/gnu/dts/arm/tegra20-plutux.dts (revision 5868f7205430cd67aa3b655419d3f15f83b70119)
1/dts-v1/;
2
3#include "tegra20-tamonten.dtsi"
4
5/ {
6	model = "Avionic Design Plutux board";
7	compatible = "ad,plutux", "ad,tamonten", "nvidia,tegra20";
8
9	host1x@50000000 {
10		hdmi@54280000 {
11			status = "okay";
12		};
13	};
14
15	i2c@7000c000 {
16		wm8903: wm8903@1a {
17			compatible = "wlf,wm8903";
18			reg = <0x1a>;
19			interrupt-parent = <&gpio>;
20			interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
21
22			gpio-controller;
23			#gpio-cells = <2>;
24
25			micdet-cfg = <0>;
26			micdet-delay = <100>;
27			gpio-cfg = <0xffffffff
28				    0xffffffff
29				    0
30				    0xffffffff
31				    0xffffffff>;
32		};
33	};
34
35	sound {
36		compatible = "ad,tegra-audio-plutux",
37			     "nvidia,tegra-audio-wm8903";
38		nvidia,model = "Avionic Design Plutux";
39
40		nvidia,audio-routing =
41			"Headphone Jack", "HPOUTR",
42			"Headphone Jack", "HPOUTL",
43			"Int Spk", "ROP",
44			"Int Spk", "RON",
45			"Int Spk", "LOP",
46			"Int Spk", "LON",
47			"Mic Jack", "MICBIAS",
48			"IN1L", "Mic Jack";
49
50		nvidia,i2s-controller = <&tegra_i2s1>;
51		nvidia,audio-codec = <&wm8903>;
52
53		nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
54		nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_HIGH>;
55
56		clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
57			 <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
58			 <&tegra_car TEGRA20_CLK_CDEV1>;
59		clock-names = "pll_a", "pll_a_out0", "mclk";
60	};
61
62	regulators {
63		vcc_24v_reg: regulator@100 {
64			compatible = "regulator-fixed";
65			reg = <100>;
66			regulator-name = "vcc_24v";
67			regulator-min-microvolt = <24000000>;
68			regulator-max-microvolt = <24000000>;
69			regulator-always-on;
70		};
71
72		vdd_5v0_reg: regulator@101 {
73			compatible = "regulator-fixed";
74			reg = <101>;
75			regulator-name = "vdd_5v0";
76			vin-supply = <&vcc_24v_reg>;
77			regulator-min-microvolt = <5000000>;
78			regulator-max-microvolt = <5000000>;
79			regulator-always-on;
80		};
81
82		vdd_3v3_reg: regulator@102 {
83			compatible = "regulator-fixed";
84			reg = <102>;
85			regulator-name = "vdd_3v3";
86			vin-supply = <&vcc_24v_reg>;
87			regulator-min-microvolt = <3300000>;
88			regulator-max-microvolt = <3300000>;
89			regulator-always-on;
90		};
91
92		vdd_1v8_reg: regulator@103 {
93			compatible = "regulator-fixed";
94			reg = <103>;
95			regulator-name = "vdd_1v8";
96			vin-supply = <&vdd_3v3_reg>;
97			regulator-min-microvolt = <1800000>;
98			regulator-max-microvolt = <1800000>;
99			regulator-always-on;
100		};
101	};
102};
103