mirror of
https://github.com/physwizz/a155-U-u1.git
synced 2025-08-25 21:42:22 +00:00
31 lines
626 B
Plaintext
31 lines
626 B
Plaintext
/*
|
|
* This pinctrl code is only for PULL state change.
|
|
* IN-OUT setting is set to OUTPUT at fixed-regulator probe.
|
|
*/
|
|
|
|
&pio {
|
|
ldo_gpio1: ldo_gpio1 {
|
|
GPIO_CONFIG_PUD(AP,pio,158, FUNC_OUTPUT_HIGH, PULL_NONE);
|
|
#if 0
|
|
samsung,pin-con-pdn = <3>;
|
|
samsung,pin-pud-pdn = <0>;
|
|
#endif
|
|
};
|
|
};
|
|
|
|
&smd {
|
|
fixed_regulator1: fixed_regulator@1 {
|
|
compatible = "regulator-fixed";
|
|
#if 1
|
|
regulator-name = "fixed_regulator${#}";
|
|
#else
|
|
regulator-name = "fixed_regulator1";
|
|
#endif
|
|
gpio = <SEC_GPIO_REF(AP,pio,158) 0>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&ldo_gpio1>;
|
|
enable-active-high;
|
|
};
|
|
};
|
|
|