mirror of
https://github.com/lkl/linux.git
synced 2025-12-19 08:03:01 +09:00
The recommended name for enable GPIOs property in regulator-gpio is
"enable-gpios". This is also required by bindings:
ste-hrefv60plus-stuib.dtb: regulator-gpio: Unevaluated properties are not allowed ('enable-gpio' was unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20230726070353.103989-3-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
55 lines
1.1 KiB
Plaintext
55 lines
1.1 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
* Device Tree for the HREF520 version with the TVK1281618 R3 UIB
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "ste-db8520.dtsi"
|
|
#include "ste-hrefv60plus.dtsi"
|
|
#include "ste-href-tvk1281618-r3.dtsi"
|
|
|
|
/ {
|
|
model = "ST-Ericsson HREF520 and TVK1281618 R3 UIB";
|
|
compatible = "st-ericsson,href520", "st-ericsson,u8500";
|
|
|
|
|
|
/* ST6G3244ME level translator for 1.8/2.9 V */
|
|
vmmci: regulator-gpio {
|
|
compatible = "regulator-gpio";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <2900000>;
|
|
regulator-name = "mmci-reg";
|
|
regulator-type = "voltage";
|
|
|
|
startup-delay-us = <100>;
|
|
|
|
states = <1800000 0x1
|
|
2900000 0x0>;
|
|
|
|
gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
|
enable-gpios = <&gpio2 14 GPIO_ACTIVE_HIGH>;
|
|
enable-active-high;
|
|
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&vmmci_default_mode>;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
vmmci {
|
|
vmmci_default_mode: vmmc_default {
|
|
/* VMMCI level-shifter enable */
|
|
default_href520_cfg1 {
|
|
pins = "GPIO78_F4";
|
|
ste,config = <&gpio_out_hi>;
|
|
};
|
|
/* VMMCI level-shifter voltage select */
|
|
default_href520_cfg2 {
|
|
pins = "GPIO5_AG6";
|
|
ste,config = <&gpio_out_hi>;
|
|
};
|
|
};
|
|
};
|
|
};
|