diff --git a/sharp.dts b/sharp.dts index 918234d..fd0142e 100644 --- a/sharp.dts +++ b/sharp.dts @@ -20,16 +20,24 @@ }; fragment@1 { + target = <&spi0_pins>; + __overlay__ { + brcm,pins = <0x0a 0x0b>; /* skipping bcm9 MISO */ + }; + }; + + fragment@2 { target = <&gpio>; __overlay__ { sharp_pins: sharp_pins { - brcm,pins = <25 24>; + brcm,pins = <23 22>; + /* brcm,pins = <9 23>; */ /* <- older revision */ brcm,function = <1 1>; /* out */ }; }; }; - fragment@2 { + fragment@3 { target = <&spi0>; __overlay__ { /* needed to avoid dtc warning */ @@ -50,4 +58,4 @@ }; }; -}; \ No newline at end of file +};