#include <dt-bindings/gpio/tegra-gpio.h>
#include <tegra124-platforms/tegra124-loki-gpio-default.dtsi>
#include <tegra124-platforms/tegra124-loki-pinmux.dtsi>
+#include "tegra124-platforms/tegra124-loki-pmic-e2530-0000-a01.dtsi"
+#include "tegra124-platforms/tegra124-loki-fixed-e2530-0000-a00.dtsi"
/ {
model = "NVIDIA Tegra124 Foster";
i2c@7000d000 {
nvidia,bit-banging-xfer-after-shutdown;
+
+ tps65913 {
+ gpadc {
+ ti,auto-conversion-period-ms = <1000>;
+ iio_map {
+ ch1 {
+ ti,adc-channel-number = <1>;
+ ti,adc-consumer-device = "generic-adc-thermal.0";
+ ti,adc-consumer-channel ="thermistor";
+ };
+
+ ch3 {
+ ti,adc-channel-number = <3>;
+ ti,adc-consumer-device = "generic-adc-thermal.1";
+ ti,adc-consumer-channel ="tdiode";
+ };
+ };
+ };
+ };
};
spi@7000d400 {
#include "tegra124-loki.dts"
#include "tegra124-platforms/tegra124-loki-powermon-e2530-a01.dtsi"
+#include "tegra124-platforms/tegra124-loki-pmic-e2530-0000-a01.dtsi"
+#include "tegra124-platforms/tegra124-loki-fixed-e2530-0000-a00.dtsi"
+
+/ {
+ i2c@7000d000 {
+ tps65913 {
+ gpadc {
+ ti,auto-conversion-period-ms = <1000>;
+ auto_conv1 {
+ ti,adc-channel-number = <4>;
+ ti,adc-low-threshold = <748>;
+ ti,enable-shutdown;
+ };
+
+ iio_map {
+ ch1 {
+ ti,adc-channel-number = <1>;
+ ti,adc-consumer-device = "generic-adc-thermal.0";
+ ti,adc-consumer-channel ="thermistor";
+ };
+
+ ch3 {
+ ti,adc-channel-number = <3>;
+ ti,adc-consumer-device = "generic-adc-thermal.1";
+ ti,adc-consumer-channel ="tdiode";
+ };
+
+ ch4 {
+ ti,adc-channel-number = <4>;
+ ti,adc-consumer-device = "generic-adc-thermal.2";
+ ti,adc-consumer-channel ="tbat";
+ };
+ };
+ };
+ };
+ };
+};
#include "tegra124-loki.dts"
#include "tegra124-platforms/tegra124-loki-powermon-e2530-a01.dtsi"
+#include "tegra124-platforms/tegra124-loki-pmic-e2530-0000-a01.dtsi"
+#include "tegra124-platforms/tegra124-loki-fixed-e2530-0000-a00.dtsi"
/ {
i2c@7000c400 {
};
};
};
+
+ i2c@7000d000 {
+ tps65913 {
+ gpadc {
+ ti,auto-conversion-period-ms = <1000>;
+ auto_conv1 {
+ ti,adc-channel-number = <4>;
+ ti,adc-low-threshold = <748>;
+ ti,enable-shutdown;
+ };
+
+ iio_map {
+ ch1 {
+ ti,adc-channel-number = <1>;
+ ti,adc-consumer-device = "generic-adc-thermal.0";
+ ti,adc-consumer-channel ="thermistor";
+ };
+
+ ch3 {
+ ti,adc-channel-number = <3>;
+ ti,adc-consumer-device = "generic-adc-thermal.1";
+ ti,adc-consumer-channel ="tdiode";
+ };
+
+ ch4 {
+ ti,adc-channel-number = <4>;
+ ti,adc-consumer-device = "generic-adc-thermal.2";
+ ti,adc-consumer-channel ="tbat";
+ };
+ };
+ };
+ };
+ };
};
#include "tegra124-loki.dts"
#include "tegra124-platforms/tegra124-loki-powermon-e2548.dtsi"
+#include "tegra124-platforms/tegra124-loki-pmic-e2545-0000-a00.dtsi"
+#include "tegra124-platforms/tegra124-loki-fixed-e2545-0000-a00.dtsi"
#include "tegra124-thor195.dts"
#include "tegra124-platforms/tegra124-thor195-powermon-e2549.dtsi"
+#include "tegra124-platforms/tegra124-loki-pmic-e2545-0000-a00.dtsi"
+#include "tegra124-platforms/tegra124-loki-fixed-e2545-0000-a00.dtsi"