Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /dts-v1/;
0003 
0004 #include "tegra30-cardhu.dtsi"
0005 
0006 /* This dts file support the cardhu A04 and later versions of board */
0007 
0008 / {
0009         model = "NVIDIA Tegra30 Cardhu A04 (A05, A06, A07) evaluation board";
0010         compatible = "nvidia,cardhu-a04", "nvidia,cardhu", "nvidia,tegra30";
0011 
0012         mmc@78000400 {
0013                 status = "okay";
0014                 power-gpios = <&gpio TEGRA_GPIO(D, 3) GPIO_ACTIVE_HIGH>;
0015                 bus-width = <4>;
0016                 keep-power-in-suspend;
0017         };
0018 
0019         ddr_reg: regulator-ddr {
0020                 compatible = "regulator-fixed";
0021                 regulator-name = "ddr";
0022                 regulator-min-microvolt = <1500000>;
0023                 regulator-max-microvolt = <1500000>;
0024                 regulator-always-on;
0025                 regulator-boot-on;
0026                 enable-active-high;
0027                 gpio = <&pmic 7 GPIO_ACTIVE_HIGH>;
0028         };
0029 
0030         sys_3v3_reg: regulator-3v3 {
0031                 compatible = "regulator-fixed";
0032                 regulator-name = "sys_3v3";
0033                 regulator-min-microvolt = <3300000>;
0034                 regulator-max-microvolt = <3300000>;
0035                 regulator-always-on;
0036                 regulator-boot-on;
0037                 enable-active-high;
0038                 gpio = <&pmic 6 GPIO_ACTIVE_HIGH>;
0039         };
0040 
0041         usb1_vbus_reg: regulator-usb1 {
0042                 compatible = "regulator-fixed";
0043                 regulator-name = "usb1_vbus";
0044                 regulator-min-microvolt = <5000000>;
0045                 regulator-max-microvolt = <5000000>;
0046                 enable-active-high;
0047                 gpio = <&gpio TEGRA_GPIO(DD, 6) GPIO_ACTIVE_HIGH>;
0048                 gpio-open-drain;
0049                 vin-supply = <&vdd_5v0_reg>;
0050         };
0051 
0052         usb3_vbus_reg: regulator-usb3 {
0053                 compatible = "regulator-fixed";
0054                 regulator-name = "usb3_vbus";
0055                 regulator-min-microvolt = <5000000>;
0056                 regulator-max-microvolt = <5000000>;
0057                 enable-active-high;
0058                 gpio = <&gpio TEGRA_GPIO(DD, 4) GPIO_ACTIVE_HIGH>;
0059                 gpio-open-drain;
0060                 vin-supply = <&vdd_5v0_reg>;
0061         };
0062 
0063         vdd_5v0_reg: regulator-5v0 {
0064                 compatible = "regulator-fixed";
0065                 regulator-name = "5v0";
0066                 regulator-min-microvolt = <5000000>;
0067                 regulator-max-microvolt = <5000000>;
0068                 enable-active-high;
0069                 gpio = <&pmic 8 GPIO_ACTIVE_HIGH>;
0070         };
0071 
0072         vdd_bl_reg: regulator-bl {
0073                 compatible = "regulator-fixed";
0074                 regulator-name = "vdd_bl";
0075                 regulator-min-microvolt = <5000000>;
0076                 regulator-max-microvolt = <5000000>;
0077                 regulator-always-on;
0078                 regulator-boot-on;
0079                 enable-active-high;
0080                 gpio = <&gpio TEGRA_GPIO(DD, 2) GPIO_ACTIVE_HIGH>;
0081         };
0082 
0083         vdd_bl2_reg: regulator-bl2 {
0084                 compatible = "regulator-fixed";
0085                 regulator-name = "vdd_bl2";
0086                 regulator-min-microvolt = <5000000>;
0087                 regulator-max-microvolt = <5000000>;
0088                 regulator-always-on;
0089                 regulator-boot-on;
0090                 enable-active-high;
0091                 gpio = <&gpio TEGRA_GPIO(DD, 0) GPIO_ACTIVE_HIGH>;
0092         };
0093 };