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 Plutux board";
0008         compatible = "ad,plutux", "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         sound {
0037                 compatible = "ad,tegra-audio-plutux",
0038                              "nvidia,tegra-audio-wm8903";
0039                 nvidia,model = "Avionic Design Plutux";
0040 
0041                 nvidia,audio-routing =
0042                         "Headphone Jack", "HPOUTR",
0043                         "Headphone Jack", "HPOUTL",
0044                         "Int Spk", "ROP",
0045                         "Int Spk", "RON",
0046                         "Int Spk", "LOP",
0047                         "Int Spk", "LON",
0048                         "Mic Jack", "MICBIAS",
0049                         "IN1L", "Mic Jack";
0050 
0051                 nvidia,i2s-controller = <&tegra_i2s1>;
0052                 nvidia,audio-codec = <&wm8903>;
0053 
0054                 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
0055                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
0056 
0057                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
0058                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
0059                          <&tegra_car TEGRA20_CLK_CDEV1>;
0060                 clock-names = "pll_a", "pll_a_out0", "mclk";
0061         };
0062 
0063         vcc_24v_reg: regulator-24v0 {
0064                 compatible = "regulator-fixed";
0065                 regulator-name = "vcc_24v";
0066                 regulator-min-microvolt = <24000000>;
0067                 regulator-max-microvolt = <24000000>;
0068                 regulator-always-on;
0069         };
0070 
0071         vdd_5v0_reg: regulator-5v0 {
0072                 compatible = "regulator-fixed";
0073                 regulator-name = "vdd_5v0";
0074                 vin-supply = <&vcc_24v_reg>;
0075                 regulator-min-microvolt = <5000000>;
0076                 regulator-max-microvolt = <5000000>;
0077                 regulator-always-on;
0078         };
0079 
0080         vdd_3v3_reg: regulator-3v3 {
0081                 compatible = "regulator-fixed";
0082                 regulator-name = "vdd_3v3";
0083                 vin-supply = <&vcc_24v_reg>;
0084                 regulator-min-microvolt = <3300000>;
0085                 regulator-max-microvolt = <3300000>;
0086                 regulator-always-on;
0087         };
0088 
0089         vdd_1v8_reg: regulator-1v8 {
0090                 compatible = "regulator-fixed";
0091                 regulator-name = "vdd_1v8";
0092                 vin-supply = <&vdd_3v3_reg>;
0093                 regulator-min-microvolt = <1800000>;
0094                 regulator-max-microvolt = <1800000>;
0095                 regulator-always-on;
0096         };
0097 };