kernel_samsung_a34x-permissive/arch/arm64/boot/dts/mediatek/rt5133.dtsi
2024-04-28 15:51:13 +02:00

140 lines
3.4 KiB
Plaintext

// SPDX-License-Identifier: GPL-2.0
/*
* Copyright (c) 2021 MediaTek Inc.
*/
&odm {
rt5133_eint:rt5133_eint {
};
rt5133_gpio1: rt5133-gpio1 {
compatible = "regulator-fixed";
regulator-name = "rt5133-gpio1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&rt5133_ldo1>;
enable-active-high;
gpio = <&rt5133 0 0x0>;
};
rt5133_gpio2: rt5133-gpio2 {
compatible = "regulator-fixed";
regulator-name = "rt5133-gpio2";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&rt5133_ldo1>;
enable-active-high;
gpio = <&rt5133 1 0x0>;
};
rt5133_gpio3: rt5133-gpio3 {
compatible = "regulator-fixed";
regulator-name = "rt5133-gpio3";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
vin-supply = <&rt5133_ldo1>;
enable-active-high;
gpio = <&rt5133 2 0x0>;
};
};
&i2c3 {
rt5133: rt5133@18 {
status = "ok";
compatible = "richtek,rt5133";
reg = <0x18>;
wakeup-source;
interrupts-extended = <&pio 92 0x0>;
enable-gpio = <&pio 162 0x0>;
gpio-supply = <&rt5133_ldo1>;
gpio-controller;
#gpio-cells = <2>;
regulator_nb = "rt5133-ldo1", "rt5133-ldo2",
"rt5133-ldo3", "rt5133-ldo4",
"rt5133-ldo5", "rt5133-ldo6",
"rt5133-ldo7", "rt5133-ldo8";
regulators {
BASE {
regulator-name = "rt5133,base";
oc_shutdown_all = <0>;
pgb_shutdown_all = <0>;
};
rt5133_ldo1: LDO1 {
regulator-name = "rt5133-ldo1";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <1800000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo2: LDO2 {
regulator-name = "rt5133-ldo2";
regulator-min-microvolt = <1800000>;
regulator-max-microvolt = <3200000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo3: LDO3 {
regulator-name = "rt5133-ldo3";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo4: LDO4 {
regulator-name = "rt5133-ldo4";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo5: LDO5 {
regulator-name = "rt5133-ldo5";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo6: LDO6 {
regulator-name = "rt5133-ldo6";
regulator-min-microvolt = <1700000>;
regulator-max-microvolt = <3000000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo7: LDO7 {
regulator-name = "rt5133-ldo7";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1200000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
rt5133_ldo8: LDO8 {
regulator-name = "rt5133-ldo8";
regulator-min-microvolt = <900000>;
regulator-max-microvolt = <1200000>;
regulator-active-discharge;
oc_ptsel = <1>;
pgb_ptsel = <1>;
soft_start_time_sel = <1>;
};
};
};
};