1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * dts file for Hi6421v600 SPMI PMIC used at t 3 * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board 4 * 4 * 5 * Copyright (C) 2020, Huawei Tech. Co., Ltd. 5 * Copyright (C) 2020, Huawei Tech. Co., Ltd. 6 */ 6 */ 7 7 8 #include <dt-bindings/spmi/spmi.h> 8 #include <dt-bindings/spmi/spmi.h> 9 9 10 / { 10 / { 11 spmi: spmi@fff24000 { 11 spmi: spmi@fff24000 { 12 compatible = "hisilicon,kirin9 12 compatible = "hisilicon,kirin970-spmi-controller"; 13 reg = <0x0 0xfff24000 0x0 0x10 << 14 #address-cells = <2>; 13 #address-cells = <2>; 15 #size-cells = <0>; 14 #size-cells = <0>; >> 15 status = "okay"; >> 16 reg = <0x0 0xfff24000 0x0 0x1000>; 16 hisilicon,spmi-channel = <2>; 17 hisilicon,spmi-channel = <2>; 17 18 18 pmic: pmic@0 { 19 pmic: pmic@0 { 19 compatible = "hisilico 20 compatible = "hisilicon,hi6421-spmi"; 20 reg = <0 SPMI_USID>; 21 reg = <0 SPMI_USID>; 21 22 22 #interrupt-cells = <2> 23 #interrupt-cells = <2>; 23 interrupt-controller; 24 interrupt-controller; 24 gpios = <&gpio28 0 0>; 25 gpios = <&gpio28 0 0>; 25 26 26 regulators { 27 regulators { >> 28 #address-cells = <1>; >> 29 #size-cells = <0>; >> 30 27 ldo3: ldo3 { / 31 ldo3: ldo3 { /* HDMI */ 28 regula 32 regulator-name = "ldo3"; 29 regula 33 regulator-min-microvolt = <1500000>; 30 regula 34 regulator-max-microvolt = <2000000>; 31 regula 35 regulator-boot-on; 32 }; 36 }; 33 37 34 ldo4: ldo4 { / 38 ldo4: ldo4 { /* 40 PIN */ 35 regula 39 regulator-name = "ldo4"; 36 regula 40 regulator-min-microvolt = <1725000>; 37 regula 41 regulator-max-microvolt = <1900000>; 38 regula 42 regulator-boot-on; 39 }; 43 }; 40 44 41 ldo9: ldo9 { / 45 ldo9: ldo9 { /* SDCARD I/O */ 42 regula 46 regulator-name = "ldo9"; 43 regula 47 regulator-min-microvolt = <1750000>; 44 regula 48 regulator-max-microvolt = <3300000>; 45 regula 49 regulator-boot-on; 46 }; 50 }; 47 51 48 ldo15: ldo15 { 52 ldo15: ldo15 { /* UFS */ 49 regula 53 regulator-name = "ldo15"; 50 regula 54 regulator-min-microvolt = <1800000>; 51 regula 55 regulator-max-microvolt = <3000000>; 52 regula 56 regulator-always-on; 53 }; 57 }; 54 58 55 ldo16: ldo16 { 59 ldo16: ldo16 { /* SD */ 56 regula 60 regulator-name = "ldo16"; 57 regula 61 regulator-min-microvolt = <1800000>; 58 regula 62 regulator-max-microvolt = <3000000>; 59 regula 63 regulator-boot-on; 60 }; 64 }; 61 65 62 ldo17: ldo17 { 66 ldo17: ldo17 { /* USB HUB */ 63 regula 67 regulator-name = "ldo17"; 64 regula 68 regulator-min-microvolt = <2500000>; 65 regula 69 regulator-max-microvolt = <3300000>; 66 }; 70 }; 67 71 68 ldo33: ldo33 { 72 ldo33: ldo33 { /* PEX8606 */ 69 regula 73 regulator-name = "ldo33"; 70 regula 74 regulator-min-microvolt = <2500000>; 71 regula 75 regulator-max-microvolt = <3300000>; 72 }; 76 }; 73 77 74 ldo34: ldo34 { 78 ldo34: ldo34 { /* GPS AUX IN VDD */ 75 regula 79 regulator-name = "ldo34"; 76 regula 80 regulator-min-microvolt = <2600000>; 77 regula 81 regulator-max-microvolt = <3300000>; 78 }; 82 }; 79 }; 83 }; 80 }; 84 }; 81 }; 85 }; 82 }; 86 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.