Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) * CSR SiRFprimaII Serial Peripheral Interface
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4) - compatible : Should be "sirf,prima2-spi", "sirf,prima2-usp"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)                or "sirf,atlas7-usp"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6) - reg : Offset and length of the register set for the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7) - interrupts : Should contain SPI interrupt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8) - resets: phandle to the reset controller asserting this device in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)           reset
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)   See ../reset/reset.txt for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) - dmas : Must contain an entry for each entry in clock-names.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)   See ../dma/dma.txt for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) - dma-names : Must include the following entries:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)   - rx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15)   - tx
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) - clocks : Must contain an entry for each entry in clock-names.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)   See ../clocks/clock-bindings.txt for details.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) - #address-cells: Number of cells required to define a chip select
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)                   address on the SPI bus. Should be set to 1.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) - #size-cells:    Should be zero.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) Optional properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) - spi-max-frequency: Specifies maximum SPI clock frequency,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25)                      Units - Hz. Definition as per
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)                      Documentation/devicetree/bindings/spi/spi-bus.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) - cs-gpios:     should specify GPIOs used for chipselects.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) spi0: spi@b00d0000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	compatible = "sirf,prima2-spi";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) 	reg = <0xb00d0000 0x10000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) 	interrupts = <15>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) 	dmas = <&dmac1 9>,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) 		<&dmac1 4>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) 	dma-names = "rx", "tx";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) 	#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) 	#size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) 	clocks = <&clks 19>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) 	resets = <&rstc 26>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) };