|
18 | 18 | stdout-path = "serial0:115200n8"; |
19 | 19 | }; |
20 | 20 |
|
21 | | - regulators { |
22 | | - compatible = "simple-bus"; |
23 | | - |
24 | | - /* Main power of the board: 3.7V */ |
25 | | - vph: regulator-fixed { |
26 | | - compatible = "regulator-fixed"; |
27 | | - regulator-min-microvolt = <3700000>; |
28 | | - regulator-max-microvolt = <3700000>; |
29 | | - regulator-name = "VPH"; |
30 | | - regulator-type = "voltage"; |
31 | | - regulator-always-on; |
32 | | - regulator-boot-on; |
33 | | - }; |
34 | | - |
35 | | - /* GPIO controlled ethernet power regulator */ |
36 | | - dragon_veth: xc622a331mrg { |
37 | | - compatible = "regulator-fixed"; |
38 | | - regulator-name = "XC6222A331MR-G"; |
39 | | - regulator-min-microvolt = <3300000>; |
40 | | - regulator-max-microvolt = <3300000>; |
41 | | - vin-supply = <&vph>; |
42 | | - gpio = <&pm8058_gpio 40 GPIO_ACTIVE_HIGH>; |
43 | | - enable-active-high; |
44 | | - pinctrl-names = "default"; |
45 | | - pinctrl-0 = <&dragon_veth_gpios>; |
46 | | - regulator-always-on; |
47 | | - }; |
| 21 | + /* Main power of the board: 3.7V */ |
| 22 | + vph: regulator-fixed { |
| 23 | + compatible = "regulator-fixed"; |
| 24 | + regulator-min-microvolt = <3700000>; |
| 25 | + regulator-max-microvolt = <3700000>; |
| 26 | + regulator-name = "VPH"; |
| 27 | + regulator-type = "voltage"; |
| 28 | + regulator-always-on; |
| 29 | + regulator-boot-on; |
| 30 | + }; |
| 31 | + |
| 32 | + /* GPIO controlled ethernet power regulator */ |
| 33 | + dragon_veth: xc622a331mrg { |
| 34 | + compatible = "regulator-fixed"; |
| 35 | + regulator-name = "XC6222A331MR-G"; |
| 36 | + regulator-min-microvolt = <3300000>; |
| 37 | + regulator-max-microvolt = <3300000>; |
| 38 | + vin-supply = <&vph>; |
| 39 | + gpio = <&pm8058_gpio 40 GPIO_ACTIVE_HIGH>; |
| 40 | + enable-active-high; |
| 41 | + pinctrl-names = "default"; |
| 42 | + pinctrl-0 = <&dragon_veth_gpios>; |
| 43 | + regulator-always-on; |
| 44 | + }; |
48 | 45 |
|
49 | | - /* VDDvario fixed regulator */ |
50 | | - dragon_vario: nds332p { |
51 | | - compatible = "regulator-fixed"; |
52 | | - regulator-name = "NDS332P"; |
53 | | - regulator-min-microvolt = <1800000>; |
54 | | - regulator-max-microvolt = <1800000>; |
55 | | - vin-supply = <&pm8058_s3>; |
56 | | - }; |
| 46 | + /* VDDvario fixed regulator */ |
| 47 | + dragon_vario: nds332p { |
| 48 | + compatible = "regulator-fixed"; |
| 49 | + regulator-name = "NDS332P"; |
| 50 | + regulator-min-microvolt = <1800000>; |
| 51 | + regulator-max-microvolt = <1800000>; |
| 52 | + vin-supply = <&pm8058_s3>; |
| 53 | + }; |
57 | 54 |
|
58 | | - /* This is a levelshifter for SDCC5 */ |
59 | | - dragon_vio_txb: txb0104rgyr { |
60 | | - compatible = "regulator-fixed"; |
61 | | - regulator-name = "Dragon SDCC levelshifter"; |
62 | | - vin-supply = <&pm8058_l14>; |
63 | | - regulator-always-on; |
64 | | - }; |
| 55 | + /* This is a levelshifter for SDCC5 */ |
| 56 | + dragon_vio_txb: txb0104rgyr { |
| 57 | + compatible = "regulator-fixed"; |
| 58 | + regulator-name = "Dragon SDCC levelshifter"; |
| 59 | + vin-supply = <&pm8058_l14>; |
| 60 | + regulator-always-on; |
65 | 61 | }; |
66 | 62 |
|
67 | 63 | /* |
|
451 | 447 | * PM8901 supplies "preliminary regulators" whatever |
452 | 448 | * that means |
453 | 449 | */ |
454 | | - pm8901-regulators { |
| 450 | + regulators-0 { |
455 | 451 | vdd_l0-supply = <&pm8901_s4>; |
456 | 452 | vdd_l1-supply = <&vph>; |
457 | 453 | vdd_l2-supply = <&vph>; |
|
537 | 533 |
|
538 | 534 | }; |
539 | 535 |
|
540 | | - pm8058-regulators { |
| 536 | + regulators-1 { |
541 | 537 | vdd_l0_l1_lvs-supply = <&pm8058_s3>; |
542 | 538 | vdd_l2_l11_l12-supply = <&vph>; |
543 | 539 | vdd_l3_l4_l5-supply = <&vph>; |
|
0 commit comments