1 // SPDX-License-Identifier: GPL-2.0+
3 * Sandbox PMIC dts node
5 * Copyright (C) 2015 Samsung Electronics
6 * Przemyslaw Marczak <p.marczak@samsung.com>
9 #include <dt-bindings/pmic/sandbox_pmic.h>
12 compatible = "sandbox,pmic";
15 compatible = "sandbox,i2c-pmic";
18 * Default PMICs register values are set by macro
19 * VAL2REG(min, step, value) [uV/uA]
21 * reg-defaults - byte array
23 reg-defaults = /bits/ 8 <
25 VAL2REG(800000, 25000, 1000000)
26 VAL2REG(150000, 25000, 150000)
27 VAL2OMREG(BUCK_OM_OFF)
29 VAL2REG(750000, 50000, 3000000)
30 VAL2REG(150000, 25000, 150000)
33 VAL2REG(800000, 25000, 1600000)
34 VAL2REG(100000, 50000, 150000)
37 VAL2REG(750000, 50000, 3000000)
38 VAL2REG(150000, 25000, 150000)
40 /* reg[12:15] - not used */
49 regulator-name = "SUPPLY_1.2V";
50 regulator-min-microvolt = <1200000>;
51 regulator-max-microvolt = <1200000>;
52 regulator-min-microamp = <200000>;
53 regulator-max-microamp = <200000>;
58 regulator-name = "SUPPLY_3.3V";
59 regulator-min-microvolt = <3300000>;
60 regulator-max-microvolt = <3300000>;
64 regulator-name = "VDD_EMMC_1.8V";
65 regulator-min-microvolt = <1800000>;
66 regulator-max-microvolt = <1800000>;
67 regulator-min-microamp = <100000>;
68 regulator-max-microamp = <100000>;
73 regulator-name = "VDD_LCD_3.3V";
74 regulator-min-microvolt = <3300000>;
75 regulator-max-microvolt = <3300000>;
78 no_match_by_nodename {
79 regulator-name = "buck_SUPPLY_1.5V";
80 regulator-min-microvolt = <1500000>;
81 regulator-max-microvolt = <1500000>;