|
526 | 526 | }; |
527 | 527 | }; |
528 | 528 |
|
| 529 | + fragment@35 { |
| 530 | + target = <&i2cbus>; |
| 531 | + __dormant__ { |
| 532 | + #address-cells = <1>; |
| 533 | + #size-cells = <0>; |
| 534 | + status = "okay"; |
| 535 | + |
| 536 | + ina238: ina238@48 { |
| 537 | + compatible = "ti,ina238"; |
| 538 | + #address-cells = <1>; |
| 539 | + #size-cells = <0>; |
| 540 | + reg = <0x40>; |
| 541 | + /* uOhms, uint32_t */ |
| 542 | + shunt-resistor = <1000>; |
| 543 | + /* 1 or 4, (±40.96 mV or ±163.84 mV) */ |
| 544 | + ti,shunt-gain = <1>; |
| 545 | + status = "okay"; |
| 546 | + }; |
| 547 | + }; |
| 548 | + }; |
| 549 | + |
529 | 550 | fragment@99 { |
530 | 551 | target = <&gpio>; |
531 | 552 | __dormant__ { |
|
573 | 594 | bno055 = <0>,"+31"; |
574 | 595 | sht4x = <0>,"+32"; |
575 | 596 | adt7410 = <0>,"+34"; |
| 597 | + ina238 = <0>,"+35"; |
576 | 598 |
|
577 | 599 | addr = <&bme280>,"reg:0", <&bmp280>,"reg:0", <&tmp102>,"reg:0", |
578 | 600 | <&lm75>,"reg:0", <&hdc100x>,"reg:0", <&sht3x>,"reg:0", |
|
582 | 604 | <&ms5837>,"reg:0", <&ms8607>,"reg:0", |
583 | 605 | <&mpu6050>,"reg:0", <&mpu9250>,"reg:0", |
584 | 606 | <&bno055>,"reg:0", <&sht4x>,"reg:0", |
585 | | - <&bmp380>,"reg:0", <&adt7410>,"reg:0"; |
| 607 | + <&bmp380>,"reg:0", <&adt7410>,"reg:0", <&ina238>,"reg:0"; |
586 | 608 | int_pin = <&int_pins>, "brcm,pins:0", |
587 | 609 | <&int_pins>, "reg:0", |
588 | 610 | <&max30102>, "interrupts:0", |
589 | 611 | <&mpu6050>, "interrupts:0", |
590 | 612 | <&mpu9250>, "interrupts:0"; |
591 | 613 | no_timeout = <&jc42>, "smbus-timeout-disable?"; |
592 | 614 | reset_pin = <&bno055>,"reset-gpios:4", <0>,"+30"; |
| 615 | + shunt_resistor = <&ina238>,"shunt-resistor:0"; |
| 616 | + gain = <&ina238>,"ti,shunt-gain:0"; |
593 | 617 | }; |
594 | 618 | }; |
0 commit comments