mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 22:14:04 +02:00
arm64: dts: rockchip: support syr827 regulator on rk1808 evb
syr827 use for rk1808 NPU power suppply. The default voltage is 1.0v, we need to set it to 0.85v when board boot up. Change-Id: Id4f0c400b931d0f97801b9a70760d9ebd351ce4e Signed-off-by: Lin Huang <hl@rock-chips.com>
This commit is contained in:
parent
d3b277129e
commit
3accb95349
|
|
@ -152,6 +152,15 @@ &vad {
|
|||
#sound-dai-cells = <0>;
|
||||
};
|
||||
|
||||
/*
|
||||
* set max voltage to 850mv to fit for npu power supply request,
|
||||
* we can change max voltage when we get more imformation.
|
||||
*/
|
||||
&vdd_npu {
|
||||
regulator-min-microvolt = <850000>;
|
||||
regulator-max-microvolt = <850000>;
|
||||
};
|
||||
|
||||
&vop_lite {
|
||||
status = "okay";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -212,6 +212,24 @@ &emmc {
|
|||
&i2c0 {
|
||||
status = "okay";
|
||||
|
||||
vdd_npu: syr837@40 {
|
||||
compatible = "silergy,syr827";
|
||||
reg = <0x40>;
|
||||
vin-supply = <&vcc5v0_sys>;
|
||||
regulator-compatible = "fan53555-reg";
|
||||
pinctrl-0 = <&vsel_gpio>;
|
||||
vsel-gpios = <&gpio0 5 GPIO_ACTIVE_HIGH>;
|
||||
regulator-name = "vdd_npu";
|
||||
regulator-min-microvolt = <712500>;
|
||||
regulator-max-microvolt = <1500000>;
|
||||
regulator-ramp-delay = <1000>;
|
||||
fcs,suspend-voltage-selector = <1>;
|
||||
regulator-boot-on;
|
||||
regulator-state-mem {
|
||||
regulator-off-in-suspend;
|
||||
};
|
||||
};
|
||||
|
||||
rk809: pmic@20 {
|
||||
compatible = "rockchip,rk809";
|
||||
reg = <0x20>;
|
||||
|
|
@ -585,6 +603,11 @@ soc_slppin_rst: soc_slppin_rst {
|
|||
rockchip,pins =
|
||||
<0 RK_PA4 2 &pcfg_pull_none>;
|
||||
};
|
||||
|
||||
vsel_gpio: vsel-gpio {
|
||||
rockchip,pins =
|
||||
<0 RK_PA5 0 &pcfg_pull_down>;
|
||||
};
|
||||
};
|
||||
|
||||
sdio-pwrseq {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user