Enable NPU and USB support for Nokia device and apply the correct value for
the shunt-resistor for the i2c ADC chip to correctly read voltage.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/input/input.h>
#include "an7581.dtsi"
+#include "an7581-npu-mt7996.dtsi"
/ {
model = "Nokia Valyrian";
compatible = "richtek,rtq6059";
reg = <0x40>;
+ shunt-resistor-micro-ohms = <5000>;
+
#io-channel-cells = <1>;
};
};
status = "okay";
};
+&npu {
+ status = "okay";
+};
+
ð {
status = "okay";
};
DEVICE_PACKAGES := kmod-spi-gpio kmod-gpio-nxp-74hc164 kmod-leds-gpio \
kmod-i2c-an7581 kmod-i2c-gpio kmod-iio-richtek-rtq6056 \
kmod-sfp kmod-phy-aeonsemi-as21xxx \
- kmod-mt7996-firmware
+ kmod-mt7996-firmware airoha-en7581-mt7996-npu-firmware \
+ kmod-usb3
ARTIFACT/preloader.bin := an7581-preloader nokia_valyrian
ARTIFACT/bl31-uboot.fip := an7581-bl31-uboot nokia_valyrian
ARTIFACTS := preloader.bin bl31-uboot.fip