diff options
author | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 16:23:16 +0200 |
---|---|---|
committer | Patryk Niedzwiedzinski <patryk@niedzwiedzinski.cyou> | 2024-09-29 16:23:16 +0200 |
commit | 4f591cc9c9663c413e8eb5cd8401a34a3251e30c (patch) | |
tree | dc46f698af4d5ba288e9e6707c2bc960e913bdd8 /machines/rpi3-amadeus/spi.dts | |
parent | 4fa1a6efad786affb0729603de846d2034580db2 (diff) | |
download | dots-4f591cc9c9663c413e8eb5cd8401a34a3251e30c.tar.gz dots-4f591cc9c9663c413e8eb5cd8401a34a3251e30c.zip |
Remove old machines
Diffstat (limited to 'machines/rpi3-amadeus/spi.dts')
-rw-r--r-- | machines/rpi3-amadeus/spi.dts | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/machines/rpi3-amadeus/spi.dts b/machines/rpi3-amadeus/spi.dts deleted file mode 100644 index db76c4b..0000000 --- a/machines/rpi3-amadeus/spi.dts +++ /dev/null @@ -1,49 +0,0 @@ -/dts-v1/; -/plugin/; - -/ { - compatible = "raspberrypi"; - fragment@0 { - target = <&spi>; - __overlay__ { - cs-gpios = <&gpio 8 1>, <&gpio 7 1>; - status = "okay"; - pinctrl-names = "default"; - pinctrl-0 = <&spi0_pins &spi0_cs_pins>; - #address-cells = <1>; - #size-cells = <0>; - spidev@0 { - reg = <0>; // CE0 - spi-max-frequency = <500000>; - compatible = "spidev"; - }; - - spidev@1 { - reg = <1>; // CE1 - spi-max-frequency = <500000>; - compatible = "spidev"; - }; - }; - }; - fragment@1 { - target = <&alt0>; - __overlay__ { - // Drop GPIO 7, SPI 8-11 - brcm,pins = <4 5>; - }; - }; - - fragment@2 { - target = <&gpio>; - __overlay__ { - spi0_pins: spi0_pins { - brcm,pins = <9 10 11>; - brcm,function = <4>; // alt0 - }; - spi0_cs_pins: spi0_cs_pins { - brcm,pins = <8 7>; - brcm,function = <1>; // out - }; - }; - }; -}; |