dont ask me
This commit is contained in:
29
overlay/max77775-fg.dtsi
Normal file
29
overlay/max77775-fg.dtsi
Normal file
@@ -0,0 +1,29 @@
|
||||
/dts-v1/;
|
||||
/plugin/;
|
||||
|
||||
/ {
|
||||
fragment@0 {
|
||||
target-path = "/soc/i2c@someaddress"; /* wird durch alias i2c18 aufgelöst */
|
||||
__overlay__ {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
|
||||
fuel_gauge@2d {
|
||||
compatible = "maxim,max77775-fg";
|
||||
reg = <0x2d>;
|
||||
status = "okay";
|
||||
interrupts = <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>;
|
||||
/* polling-interval-ms = <60000>; */
|
||||
/* wakeup-source; */
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/* Alias sorgt dafür, dass "i2c18" hier den Bus 18 trifft */
|
||||
fragment@1 {
|
||||
target = <&i2c18>;
|
||||
__overlay__ {
|
||||
status = "okay";
|
||||
};
|
||||
};
|
||||
};
|
Reference in New Issue
Block a user