From 0e5bbbd86ed66e982e0b719c2ea8bd695da75cd7 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 11 Apr 2018 22:20:00 -0400 Subject: move 1-wire to different gpio pin --- src/Propellor/Property/SiteSpecific/JoeySites.hs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/Propellor/Property/SiteSpecific/JoeySites.hs b/src/Propellor/Property/SiteSpecific/JoeySites.hs index eb2adc56..7d2ae9df 100644 --- a/src/Propellor/Property/SiteSpecific/JoeySites.hs +++ b/src/Propellor/Property/SiteSpecific/JoeySites.hs @@ -1121,13 +1121,13 @@ cubieTruckOneWire = ["--debian", "sun7i-a20-cubietruck"] `assume` MadeChange mydts = - [ "/* Device tree addition enabling onewire sensors on CubieTruck GPIO pin PG8 */" + [ "/* Device tree addition enabling onewire sensors on CubieTruck GPIO pin PC21 */" , "#include " , "" , "/ {" , "\tonewire_device {" , "\t\tcompatible = \"w1-gpio\";" - , "\t\tgpios = <&pio 6 8 GPIO_ACTIVE_HIGH>; /* PG8 */" + , "\t\tgpios = <&pio 2 21 GPIO_ACTIVE_HIGH>; /* PC21 */" , "\t\tpinctrl-names = \"default\";" , "\t\tpinctrl-0 = <&my_w1_pin>;" , "\t};" @@ -1135,7 +1135,7 @@ cubieTruckOneWire = , "" , "&pio {" , "\tmy_w1_pin: my_w1_pin@0 {" - , "\t\tallwinner,pins = \"PG8\";" + , "\t\tallwinner,pins = \"PC21\";" , "\t\tallwinner,function = \"gpio_in\";" , "\t};" , "};" -- cgit v1.2.3