Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "tegra20-tamonten.dtsi"
0005 
0006 / {
0007         model = "Avionic Design Tamonten Evaluation Carrier";
0008         compatible = "ad,tec", "ad,tamonten", "nvidia,tegra20";
0009 
0010         host1x@50000000 {
0011                 hdmi@54280000 {
0012                         status = "okay";
0013                 };
0014         };
0015 
0016         i2c@7000c000 {
0017                 wm8903: wm8903@1a {
0018                         compatible = "wlf,wm8903";
0019                         reg = <0x1a>;
0020                         interrupt-parent = <&gpio>;
0021                         interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
0022 
0023                         gpio-controller;
0024                         #gpio-cells = <2>;
0025 
0026                         micdet-cfg = <0>;
0027                         micdet-delay = <100>;
0028                         gpio-cfg = <0xffffffff
0029                                     0xffffffff
0030                                     0
0031                                     0xffffffff
0032                                     0xffffffff>;
0033                 };
0034         };
0035 
0036         pcie@80003000 {
0037                 status = "okay";
0038 
0039                 pci@1,0 {
0040                         status = "okay";
0041                 };
0042         };
0043 
0044         sound {
0045                 compatible = "ad,tegra-audio-wm8903-tec",
0046                              "nvidia,tegra-audio-wm8903";
0047                 nvidia,model = "Avionic Design TEC";
0048 
0049                 nvidia,audio-routing =
0050                         "Headphone Jack", "HPOUTR",
0051                         "Headphone Jack", "HPOUTL",
0052                         "Int Spk", "ROP",
0053                         "Int Spk", "RON",
0054                         "Int Spk", "LOP",
0055                         "Int Spk", "LON",
0056                         "Mic Jack", "MICBIAS",
0057                         "IN1L", "Mic Jack";
0058 
0059                 nvidia,i2s-controller = <&tegra_i2s1>;
0060                 nvidia,audio-codec = <&wm8903>;
0061 
0062                 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
0063                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2)
0064                         GPIO_ACTIVE_LOW>;
0065 
0066                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
0067                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
0068                          <&tegra_car TEGRA20_CLK_CDEV1>;
0069                 clock-names = "pll_a", "pll_a_out0", "mclk";
0070         };
0071 
0072         vcc_24v_reg: regulator-24v {
0073                 compatible = "regulator-fixed";
0074                 regulator-name = "vcc_24v";
0075                 regulator-min-microvolt = <24000000>;
0076                 regulator-max-microvolt = <24000000>;
0077                 regulator-always-on;
0078         };
0079 
0080         vdd_5v0_reg: regulator-5v0 {
0081                 compatible = "regulator-fixed";
0082                 regulator-name = "vdd_5v0";
0083                 vin-supply = <&vcc_24v_reg>;
0084                 regulator-min-microvolt = <5000000>;
0085                 regulator-max-microvolt = <5000000>;
0086                 regulator-always-on;
0087         };
0088 
0089         vdd_3v3_reg: regulator-3v3 {
0090                 compatible = "regulator-fixed";
0091                 regulator-name = "vdd_3v3";
0092                 vin-supply = <&vcc_24v_reg>;
0093                 regulator-min-microvolt = <3300000>;
0094                 regulator-max-microvolt = <3300000>;
0095                 regulator-always-on;
0096         };
0097 
0098         vdd_1v8_reg: regulator-1v8 {
0099                 compatible = "regulator-fixed";
0100                 regulator-name = "vdd_1v8";
0101                 vin-supply = <&vdd_3v3_reg>;
0102                 regulator-min-microvolt = <1800000>;
0103                 regulator-max-microvolt = <1800000>;
0104                 regulator-always-on;
0105         };
0106 };