mirror of
https://github.com/Fishwaldo/build.git
synced 2025-03-23 23:31:28 +00:00
Small cleanup for h3 overlays
This commit is contained in:
parent
0a36bbdaa5
commit
ba02ff9cfb
1 changed files with 5 additions and 9 deletions
|
@ -308,7 +308,7 @@ new file mode 100644
|
|||
index 00000000..afd60dde
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/overlay/sun8i-h3-w1.dts
|
||||
@@ -0,0 +1,34 @@
|
||||
@@ -0,0 +1,30 @@
|
||||
+/dts-v1/ /plugin/;
|
||||
+
|
||||
+/ {
|
||||
|
@ -321,7 +321,7 @@ index 00000000..afd60dde
|
|||
+ compatible = "w1-gpio";
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&w1_pins>;
|
||||
+ gpios = <&pio 3 14 0>; // PD14
|
||||
+ gpios = <&pio 3 14 0>; /* PD14 */
|
||||
+ status = "okay";
|
||||
+ };
|
||||
+ };
|
||||
|
@ -332,14 +332,10 @@ index 00000000..afd60dde
|
|||
+ __overlay__ {
|
||||
+ w1_pins: w1_pins {
|
||||
+ allwinner,pins = "PD14";
|
||||
+ allwinner,function = "gpio_in"; // in (initially)
|
||||
+ allwinner,pull = <0>; // off
|
||||
+ allwinner,function = "gpio_in";
|
||||
+ allwinner,drive = <0>;
|
||||
+ allwinner,pull = <0>;
|
||||
+ };
|
||||
+ };
|
||||
+ };
|
||||
+
|
||||
+ __overrides__ {
|
||||
+ gpiopin = <&w1>,"gpios:4",
|
||||
+ <&w1_pins>,"allwinner,pins:0";
|
||||
+ };
|
||||
+};
|
||||
|
|
Loading…
Add table
Reference in a new issue