Linux Audio

Check our new training course

Loading...
v6.2
 1// SPDX-License-Identifier: GPL-2.0
 2/dts-v1/;
 3
 4#include "tegra30-cardhu.dtsi"
 5
 6/* This dts file support the cardhu A02 version of board */
 7
 8/ {
 9	model = "NVIDIA Tegra30 Cardhu A02 evaluation board";
10	compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
11
12	mmc@78000400 {
13		status = "okay";
14		power-gpios = <&gpio TEGRA_GPIO(D, 4) GPIO_ACTIVE_HIGH>;
15		bus-width = <4>;
16		keep-power-in-suspend;
17	};
18
19	ddr_reg: regulator-ddr {
20		compatible = "regulator-fixed";
21		regulator-name = "vdd_ddr";
22		regulator-min-microvolt = <1500000>;
23		regulator-max-microvolt = <1500000>;
24		regulator-always-on;
25		regulator-boot-on;
26		enable-active-high;
27		gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
28	};
29
30	sys_3v3_reg: regulator-3v3 {
31		compatible = "regulator-fixed";
32		regulator-name = "sys_3v3";
33		regulator-min-microvolt = <3300000>;
34		regulator-max-microvolt = <3300000>;
35		regulator-always-on;
36		regulator-boot-on;
37		enable-active-high;
38		gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
39	};
40
41	usb1_vbus_reg: regulator-usb1 {
42		compatible = "regulator-fixed";
43		regulator-name = "usb1_vbus";
44		regulator-min-microvolt = <5000000>;
45		regulator-max-microvolt = <5000000>;
46		enable-active-high;
47		gpio = <&gpio TEGRA_GPIO(I, 4) GPIO_ACTIVE_HIGH>;
48		gpio-open-drain;
49		vin-supply = <&vdd_5v0_reg>;
50	};
51
52	usb3_vbus_reg: regulator-usb3 {
53		compatible = "regulator-fixed";
54		regulator-name = "usb3_vbus";
55		regulator-min-microvolt = <5000000>;
56		regulator-max-microvolt = <5000000>;
57		enable-active-high;
58		gpio = <&gpio TEGRA_GPIO(H, 7) GPIO_ACTIVE_HIGH>;
59		gpio-open-drain;
60		vin-supply = <&vdd_5v0_reg>;
61	};
62
63	vdd_5v0_reg: regulator-5v0 {
64		compatible = "regulator-fixed";
65		regulator-name = "5v0";
66		regulator-min-microvolt = <5000000>;
67		regulator-max-microvolt = <5000000>;
68		enable-active-high;
69		gpio = <&pmic 2 GPIO_ACTIVE_HIGH>;
70	};
71
72	vdd_bl_reg: regulator-bl {
73		compatible = "regulator-fixed";
74		regulator-name = "vdd_bl";
75		regulator-min-microvolt = <5000000>;
76		regulator-max-microvolt = <5000000>;
77		regulator-always-on;
78		regulator-boot-on;
79		enable-active-high;
80		gpio = <&gpio TEGRA_GPIO(K, 3) GPIO_ACTIVE_HIGH>;
 
 
 
 
 
 
 
 
 
 
 
 
81	};
82};
83
v4.10.11
 
 1/dts-v1/;
 2
 3#include "tegra30-cardhu.dtsi"
 4
 5/* This dts file support the cardhu A02 version of board */
 6
 7/ {
 8	model = "NVIDIA Tegra30 Cardhu A02 evaluation board";
 9	compatible = "nvidia,cardhu-a02", "nvidia,cardhu", "nvidia,tegra30";
10
11	sdhci@78000400 {
12		status = "okay";
13		power-gpios = <&gpio TEGRA_GPIO(D, 4) 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			reg = <100>;
26			regulator-name = "vdd_ddr";
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 6 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 7 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(I, 4) 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(H, 7) 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 2 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(K, 3) GPIO_ACTIVE_HIGH>;
91		};
92	};
93};
94