30 lines
727 B
Plaintext
30 lines
727 B
Plaintext
/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";
|
|
};
|
|
};
|
|
};
|