|
17 | 17 | compatible = "fsl,imx8mm-evk", "fsl,imx8mm";
|
18 | 18 |
|
19 | 19 | fragment@0 {
|
20 |
| - target = <&iomuxc>; |
21 |
| - __overlay__ { |
22 |
| - imx8mm { |
23 |
| - /* @TODO: fix me bq24195 irq line pass thru stm32h7 */ |
24 |
| - pinctrl_gpio_bq24195: gpiobq24195grp { |
25 |
| - fsl,pins = < |
26 |
| - MX8MM_IOMUXC_GPIO1_IO05_GPIO1_IO5 0x141 /* Interrupt pin pull-up stm32h7 PE11 */ |
27 |
| - >; |
28 |
| - }; |
29 |
| - }; |
30 |
| - }; |
31 |
| - }; |
32 |
| - |
33 |
| - fragment@1 { |
34 | 20 | target-path = "/";
|
35 | 21 | __overlay__ {
|
36 | 22 | bat: battery {
|
37 | 23 | compatible = "simple-battery";
|
38 | 24 | precharge-current-microamp = <256000>;
|
39 | 25 | charge-term-current-microamp = <128000>;
|
40 |
| - /* |
41 |
| - compatible = "simple-battery"; |
| 26 | + /*compatible = "simple-battery"; |
42 | 27 | voltage-min-design-microvolt = <3200000>;
|
43 | 28 | energy-full-design-microwatt-hours = <5290000>;
|
44 | 29 | charge-full-design-microamp-hours = <1430000>;
|
45 | 30 | precharge-current-microamp = <256000>;
|
46 | 31 | charge-term-current-microamp = <128000>;
|
47 | 32 | constant-charge-current-max-microamp = <900000>;
|
48 |
| - constant-charge-voltage-max-microvolt = <4200000>; |
49 |
| - */ |
| 33 | + constant-charge-voltage-max-microvolt = <4200000>;*/ |
50 | 34 | };
|
51 | 35 | };
|
52 | 36 | };
|
53 | 37 |
|
54 |
| - fragment@2 { |
| 38 | + fragment@1 { |
55 | 39 | target = <&i2c3>;
|
56 | 40 | __overlay__ {
|
57 | 41 | bq24195: charger@6b {
|
58 | 42 | compatible = "ti,bq24195";
|
59 |
| - pinctrl-names = "default"; |
60 |
| - pinctrl-0 = <&pinctrl_gpio_bq24195>; |
61 | 43 | reg = <0x6b>;
|
62 |
| - interrupt-parent = <&gpio1>; |
63 |
| - interrupts = <5 IRQ_TYPE_NONE>; /* Edge set in drv module stm32h7 PE11 */ |
| 44 | + interrupt-parent = <&x8h7_gpio>; |
| 45 | + interrupts = <6 IRQ_TYPE_NONE>; /* Edge set in drv module stm32h7 PE11 */ |
64 | 46 | monitored-battery = <&bat>;
|
65 | 47 | ti,system-minimum-microvolt = <3200000>;
|
66 | 48 | omit-battery-class;
|
|
0 commit comments