Linux Audio

Check our new training course

Loading...
v4.17
  1// SPDX-License-Identifier: GPL-2.0
  2/dts-v1/;
  3
  4#include "tegra30-cardhu.dtsi"
  5
  6/* This dts file support the cardhu A04 and later versions of board */
  7
  8/ {
  9	model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
 10	compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 11
 12	sdhci@78000400 {
 13		status = "okay";
 14		power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
 15		bus-width = <4>;
 16		keep-power-in-suspend;
 17	};
 18
 19	regulators {
 20		compatible = "simple-bus";
 21		#address-cells = <1>;
 22		#size-cells = <0>;
 23
 24		ddr_reg: regulator@100 {
 25			compatible = "regulator-fixed";
 26			regulator-name = "ddr";
 27			reg = <100>;
 28			regulator-min-microvolt = <1500000>;
 29			regulator-max-microvolt = <1500000>;
 30			regulator-always-on;
 31			regulator-boot-on;
 32			enable-active-high;
 33			gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
 34		};
 35
 36		sys_3v3_reg: regulator@101 {
 37			compatible = "regulator-fixed";
 38			reg = <101>;
 39			regulator-name = "sys_3v3";
 40			regulator-min-microvolt = <3300000>;
 41			regulator-max-microvolt = <3300000>;
 42			regulator-always-on;
 43			regulator-boot-on;
 44			enable-active-high;
 45			gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
 46		};
 47
 48		usb1_vbus_reg: regulator@102 {
 49			compatible = "regulator-fixed";
 50			reg = <102>;
 51			regulator-name = "usb1_vbus";
 52			regulator-min-microvolt = <5000000>;
 53			regulator-max-microvolt = <5000000>;
 54			enable-active-high;
 55			gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
 56			gpio-open-drain;
 57			vin-supply = <&vdd_5v0_reg>;
 58		};
 59
 60		usb3_vbus_reg: regulator@103 {
 61			compatible = "regulator-fixed";
 62			reg = <103>;
 63			regulator-name = "usb3_vbus";
 64			regulator-min-microvolt = <5000000>;
 65			regulator-max-microvolt = <5000000>;
 66			enable-active-high;
 67			gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
 68			gpio-open-drain;
 69			vin-supply = <&vdd_5v0_reg>;
 70		};
 71
 72		vdd_5v0_reg: regulator@104 {
 73			compatible = "regulator-fixed";
 74			reg = <104>;
 75			regulator-name = "5v0";
 76			regulator-min-microvolt = <5000000>;
 77			regulator-max-microvolt = <5000000>;
 78			enable-active-high;
 79			gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
 80		};
 81
 82		vdd_bl_reg: regulator@105 {
 83			compatible = "regulator-fixed";
 84			reg = <105>;
 85			regulator-name = "vdd_bl";
 86			regulator-min-microvolt = <5000000>;
 87			regulator-max-microvolt = <5000000>;
 88			regulator-always-on;
 89			regulator-boot-on;
 90			enable-active-high;
 91			gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
 92		};
 93
 94		vdd_bl2_reg: regulator@106 {
 95			compatible = "regulator-fixed";
 96			reg = <106>;
 97			regulator-name = "vdd_bl2";
 98			regulator-min-microvolt = <5000000>;
 99			regulator-max-microvolt = <5000000>;
100			regulator-always-on;
101			regulator-boot-on;
102			enable-active-high;
103			gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
104		};
105	};
106};
v3.15
 
  1/dts-v1/;
  2
  3#include "tegra30-cardhu.dtsi"
  4
  5/* This dts file support the cardhu A04 and later versions of board */
  6
  7/ {
  8	model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
  9	compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
 10
 11	sdhci@78000400 {
 12		status = "okay";
 13		power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
 14		bus-width = <4>;
 15		keep-power-in-suspend;
 16	};
 17
 18	regulators {
 19		compatible = "simple-bus";
 20		#address-cells = <1>;
 21		#size-cells = <0>;
 22
 23		ddr_reg: regulator@100 {
 24			compatible = "regulator-fixed";
 25			regulator-name = "ddr";
 26			reg = <100>;
 27			regulator-min-microvolt = <1500000>;
 28			regulator-max-microvolt = <1500000>;
 29			regulator-always-on;
 30			regulator-boot-on;
 31			enable-active-high;
 32			gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
 33		};
 34
 35		sys_3v3_reg: regulator@101 {
 36			compatible = "regulator-fixed";
 37			reg = <101>;
 38			regulator-name = "sys_3v3";
 39			regulator-min-microvolt = <3300000>;
 40			regulator-max-microvolt = <3300000>;
 41			regulator-always-on;
 42			regulator-boot-on;
 43			enable-active-high;
 44			gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
 45		};
 46
 47		usb1_vbus_reg: regulator@102 {
 48			compatible = "regulator-fixed";
 49			reg = <102>;
 50			regulator-name = "usb1_vbus";
 51			regulator-min-microvolt = <5000000>;
 52			regulator-max-microvolt = <5000000>;
 53			enable-active-high;
 54			gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
 55			gpio-open-drain;
 56			vin-supply = <&vdd_5v0_reg>;
 57		};
 58
 59		usb3_vbus_reg: regulator@103 {
 60			compatible = "regulator-fixed";
 61			reg = <103>;
 62			regulator-name = "usb3_vbus";
 63			regulator-min-microvolt = <5000000>;
 64			regulator-max-microvolt = <5000000>;
 65			enable-active-high;
 66			gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
 67			gpio-open-drain;
 68			vin-supply = <&vdd_5v0_reg>;
 69		};
 70
 71		vdd_5v0_reg: regulator@104 {
 72			compatible = "regulator-fixed";
 73			reg = <104>;
 74			regulator-name = "5v0";
 75			regulator-min-microvolt = <5000000>;
 76			regulator-max-microvolt = <5000000>;
 77			enable-active-high;
 78			gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
 79		};
 80
 81		vdd_bl_reg: regulator@105 {
 82			compatible = "regulator-fixed";
 83			reg = <105>;
 84			regulator-name = "vdd_bl";
 85			regulator-min-microvolt = <5000000>;
 86			regulator-max-microvolt = <5000000>;
 87			regulator-always-on;
 88			regulator-boot-on;
 89			enable-active-high;
 90			gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
 91		};
 92
 93		vdd_bl2_reg: regulator@106 {
 94			compatible = "regulator-fixed";
 95			reg = <106>;
 96			regulator-name = "vdd_bl2";
 97			regulator-min-microvolt = <5000000>;
 98			regulator-max-microvolt = <5000000>;
 99			regulator-always-on;
100			regulator-boot-on;
101			enable-active-high;
102			gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
103		};
104	};
105};