42 lines
931 B
Diff
42 lines
931 B
Diff
diff --git a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
|
|
index c8201e79dff3..5407742acad6 100644
|
|
--- a/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-h3-orangepi-pc.dts
|
|
@@ -210,12 +210,22 @@ &uart0 {
|
|
status = "okay";
|
|
};
|
|
|
|
+&pio {
|
|
+ lw35ioc_pins: lw35ioc-pins {
|
|
+ pins = "PA10";
|
|
+ function = "gpio_out";
|
|
+ };
|
|
+};
|
|
+
|
|
&uart1 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart1_pins>;
|
|
lw35ioc@0 {
|
|
compatible = "brother,lw35";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&lw35ioc_pins>;
|
|
+ rst-gpios = <&pio 0 10 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
|
|
@@ -242,3 +252,13 @@ &usbphy {
|
|
/* VBUS on USB host ports are always on */
|
|
status = "okay";
|
|
};
|
|
+
|
|
+&spi0 {
|
|
+ status = "okay";
|
|
+ lmg6202ulyt@0 {
|
|
+ compatible = "hitachi,lmg6202ulyt";
|
|
+ reg = <0x0>;
|
|
+ spi-max-frequency = <2000000>;
|
|
+ cs-gpios = <0>, <&pio 0 3 GPIO_ACTIVE_LOW>;
|
|
+ };
|
|
+};
|