/*
* Copyright (c) 2017-2020, NVIDIA CORPORATION. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see .
*/
#include
#include
/ {
fixed-regulators {
hdr40_vdd_3v3: p2822_vdd_3v3_cvb: regulator@101 {
compatible = "regulator-fixed";
reg = <101>;
regulator-name = "vdd-3v3-cvb";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
p2822_vdd_1v8_cvb: regulator@102 {
compatible = "regulator-fixed";
reg = <102>;
regulator-name = "vdd-1v8-cvb";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
p2822_vdd_1v8_sd: regulator@104 {
compatible = "regulator-fixed";
reg = <104>;
regulator-name = "vdd-1v8-sd";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 0) 0>;
};
p2822_vdd_epb_1v0: regulator@105 {
compatible = "regulator-fixed";
reg = <105>;
regulator-name = "vdd-epb-1v0";
regulator-min-microvolt = <1000000>;
regulator-max-microvolt = <1000000>;
vin-supply = <&p2822_vdd_3v3_cvb>;
regulator-always-on;
};
p2822_vdd_sdmmc1_sw: regulator@106 {
compatible = "regulator-fixed";
reg = <106>;
regulator-name = "vdd-sdmmc1-sw";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 0) 0>;
};
p2822_avdd_cam_2v8: regulator@107 {
compatible = "regulator-fixed";
reg = <107>;
regulator-name = "avdd-cam-2v8";
regulator-min-microvolt = <2800000>;
regulator-max-microvolt = <2800000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(N, 0) 0>;
};
p2822_vdd_sata_1v5: regulator@108 {
compatible = "regulator-fixed";
reg = <108>;
regulator-name = "vdd-sata-1v5";
regulator-min-microvolt = <1500000>;
regulator-max-microvolt = <1500000>;
regulator-always-on;
};
p2822_vdd_1v8_slt: regulator@109 {
compatible = "regulator-fixed";
reg = <109>;
regulator-name = "vdd-1v8-slt";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-always-on;
};
p2822_vdd_3v3_slt: regulator@110 {
compatible = "regulator-fixed";
reg = <110>;
regulator-name = "vdd-3v3-slt";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
regulator-always-on;
};
p2822_vdd_fan: regulator@111 {
compatible = "regulator-fixed";
reg = <111>;
regulator-name = "vdd-fan";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
regulator-always-on;
};
p2822_vdd_hdmi_5v0: regulator@112 {
compatible = "regulator-fixed";
reg = <112>;
regulator-name = "vdd-hdmi-5v0";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 3) 0>;
};
p2822_vdd_sys_en: regulator@113 {
compatible = "regulator-fixed";
reg = <113>;
regulator-name = "vdd_sys_en";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(M, 5) 0>;
regulator-always-on;
};
p2822_vdd_5v_sata: regulator@114 {
compatible = "regulator-fixed";
reg = <114>;
regulator-name = "vdd-5v-sata";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
gpio-open-drain;
enable-active-high;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Z, 1) 0>;
vin-supply = <&battery_reg>;
regulator-always-on;
};
p2822_vdd_3v3_pcie: regulator@115 {
compatible = "regulator-fixed";
reg = <115>;
regulator-name = "vdd-3v3-pcie";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
//gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(Z, 2) 0>;
regulator-boot-on;
enable-active-high;
regulator-always-on;
};
p2822_vdd_12v_pcie: regulator@116 {
compatible = "regulator-fixed";
reg = <116>;
regulator-name = "vdd-12v-pcie";
regulator-min-microvolt = <1200000>;
regulator-max-microvolt = <1200000>;
gpio = <&tegra_main_gpio TEGRA194_MAIN_GPIO(A, 1) 1>;
regulator-boot-on;
enable-active-low;
regulator-always-on;
};
};
};