~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/nvidia/tegra20-medcom-wide.dts

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 
  4 #include "tegra20-tamonten.dtsi"
  5 
  6 / {
  7         model = "Avionic Design Medcom-Wide board";
  8         compatible = "ad,medcom-wide", "ad,tamonten", "nvidia,tegra20";
  9 
 10         aliases {
 11                 serial0 = &uartd;
 12         };
 13 
 14         chosen {
 15                 stdout-path = "serial0:115200n8";
 16         };
 17 
 18         host1x@50000000 {
 19                 dc@54200000 {
 20                         rgb {
 21                                 status = "okay";
 22                                 nvidia,panel = <&panel>;
 23                         };
 24                 };
 25         };
 26 
 27         pwm@7000a000 {
 28                 status = "okay";
 29         };
 30 
 31         i2c@7000c000 {
 32                 wm8903: wm8903@1a {
 33                         compatible = "wlf,wm8903";
 34                         reg = <0x1a>;
 35                         interrupt-parent = <&gpio>;
 36                         interrupts = <TEGRA_GPIO(X, 3) IRQ_TYPE_LEVEL_HIGH>;
 37 
 38                         gpio-controller;
 39                         #gpio-cells = <2>;
 40 
 41                         micdet-cfg = <0>;
 42                         micdet-delay = <100>;
 43                         gpio-cfg = <0xffffffff
 44                                     0xffffffff
 45                                     0
 46                                     0xffffffff
 47                                     0xffffffff>;
 48                 };
 49         };
 50 
 51         backlight: backlight {
 52                 compatible = "pwm-backlight";
 53                 pwms = <&pwm 0 5000000>;
 54 
 55                 brightness-levels = <0 4 8 16 32 64 128 255>;
 56                 default-brightness-level = <6>;
 57 
 58                 /* close enough */
 59                 power-supply = <&vdd_3v3_reg>;
 60         };
 61 
 62         panel: panel {
 63                 compatible = "innolux,n156bge-l21";
 64 
 65                 power-supply =  <&vdd_1v8_reg>; // <&vdd_3v3_reg>;
 66                 enable-gpios = <&gpio TEGRA_GPIO(B, 2) GPIO_ACTIVE_HIGH>;
 67 
 68                 backlight = <&backlight>;
 69         };
 70 
 71         sound {
 72                 compatible = "ad,tegra-audio-wm8903-medcom-wide",
 73                              "nvidia,tegra-audio-wm8903";
 74                 nvidia,model = "Avionic Design Medcom-Wide";
 75 
 76                 nvidia,audio-routing =
 77                         "Headphone Jack", "HPOUTR",
 78                         "Headphone Jack", "HPOUTL",
 79                         "Int Spk", "ROP",
 80                         "Int Spk", "RON",
 81                         "Int Spk", "LOP",
 82                         "Int Spk", "LON",
 83                         "Mic Jack", "MICBIAS",
 84                         "IN1L", "Mic Jack";
 85 
 86                 nvidia,i2s-controller = <&tegra_i2s1>;
 87                 nvidia,audio-codec = <&wm8903>;
 88 
 89                 nvidia,spkr-en-gpios = <&wm8903 2 GPIO_ACTIVE_HIGH>;
 90                 nvidia,hp-det-gpios = <&gpio TEGRA_GPIO(W, 2) GPIO_ACTIVE_LOW>;
 91 
 92                 clocks = <&tegra_car TEGRA20_CLK_PLL_A>,
 93                          <&tegra_car TEGRA20_CLK_PLL_A_OUT0>,
 94                          <&tegra_car TEGRA20_CLK_CDEV1>;
 95                 clock-names = "pll_a", "pll_a_out0", "mclk";
 96         };
 97 
 98         vcc_24v_reg: regulator-24v0 {
 99                 compatible = "regulator-fixed";
100                 regulator-name = "vcc_24v";
101                 regulator-min-microvolt = <24000000>;
102                 regulator-max-microvolt = <24000000>;
103                 regulator-always-on;
104         };
105 
106         vdd_5v0_reg: regulator-5v0 {
107                 compatible = "regulator-fixed";
108                 regulator-name = "vdd_5v0";
109                 vin-supply = <&vcc_24v_reg>;
110                 regulator-min-microvolt = <5000000>;
111                 regulator-max-microvolt = <5000000>;
112                 regulator-always-on;
113         };
114 
115         vdd_3v3_reg: regulator-3v3 {
116                 compatible = "regulator-fixed";
117                 regulator-name = "vdd_3v3";
118                 vin-supply = <&vcc_24v_reg>;
119                 regulator-min-microvolt = <3300000>;
120                 regulator-max-microvolt = <3300000>;
121                 regulator-always-on;
122         };
123 
124         vdd_1v8_reg: regulator-1v8 {
125                 compatible = "regulator-fixed";
126                 regulator-name = "vdd_1v8";
127                 vin-supply = <&vdd_3v3_reg>;
128                 regulator-min-microvolt = <1800000>;
129                 regulator-max-microvolt = <1800000>;
130                 regulator-always-on;
131         };
132 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php