From 6d9b53eb37fc648ce6fd13a419587e02c69bdbae Mon Sep 17 00:00:00 2001 From: w4ilun Date: Thu, 20 Apr 2023 09:55:56 -0400 Subject: [PATCH] Update sharp.dts --- sharp.dts | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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 +};