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 v4.14-rc2 48 lines 1.3 kB view raw
1Device tree configuration for the I2C busses on the AST24XX and AST25XX SoCs. 2 3Required Properties: 4- #address-cells : should be 1 5- #size-cells : should be 0 6- reg : address offset and range of bus 7- compatible : should be "aspeed,ast2400-i2c-bus" 8 or "aspeed,ast2500-i2c-bus" 9- clocks : root clock of bus, should reference the APB 10 clock 11- interrupts : interrupt number 12- interrupt-parent : interrupt controller for bus, should reference a 13 aspeed,ast2400-i2c-ic or aspeed,ast2500-i2c-ic 14 interrupt controller 15 16Optional Properties: 17- bus-frequency : frequency of the bus clock in Hz defaults to 100 kHz when not 18 specified 19- multi-master : states that there is another master active on this bus. 20 21Example: 22 23i2c { 24 compatible = "simple-bus"; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 ranges = <0 0x1e78a000 0x1000>; 28 29 i2c_ic: interrupt-controller@0 { 30 #interrupt-cells = <1>; 31 compatible = "aspeed,ast2400-i2c-ic"; 32 reg = <0x0 0x40>; 33 interrupts = <12>; 34 interrupt-controller; 35 }; 36 37 i2c0: i2c-bus@40 { 38 #address-cells = <1>; 39 #size-cells = <0>; 40 #interrupt-cells = <1>; 41 reg = <0x40 0x40>; 42 compatible = "aspeed,ast2400-i2c-bus"; 43 clocks = <&clk_apb>; 44 bus-frequency = <100000>; 45 interrupts = <0>; 46 interrupt-parent = <&i2c_ic>; 47 }; 48};