Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at v3.18 24 lines 725 B view raw
1Allwinner A31 SPI controller 2 3Required properties: 4- compatible: Should be "allwinner,sun6i-a31-spi". 5- reg: Should contain register location and length. 6- interrupts: Should contain interrupt. 7- clocks: phandle to the clocks feeding the SPI controller. Two are 8 needed: 9 - "ahb": the gated AHB parent clock 10 - "mod": the parent module clock 11- clock-names: Must contain the clock names described just above 12- resets: phandle to the reset controller asserting this device in 13 reset 14 15Example: 16 17spi1: spi@01c69000 { 18 compatible = "allwinner,sun6i-a31-spi"; 19 reg = <0x01c69000 0x1000>; 20 interrupts = <0 66 4>; 21 clocks = <&ahb1_gates 21>, <&spi1_clk>; 22 clock-names = "ahb", "mod"; 23 resets = <&ahb1_rst 21>; 24};