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) * Energymicro efm32 i2c controller
^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) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  - reg : Offset and length of the register set for the device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  - compatible : should be "energymicro,efm32-i2c"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  - interrupts : the interrupt number
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  - clocks : reference to the module clock
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Recommended properties :
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)  - clock-frequency : maximal I2C bus clock frequency in Hz.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)  - energymicro,location : Decides the location of the USART I/O pins.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14)    Allowed range : [0 .. 6]
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) 	i2c0: i2c@4000a000 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 		#address-cells = <1>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) 		#size-cells = <0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) 		compatible = "energymicro,efm32-i2c";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 		reg = <0x4000a000 0x400>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) 		interrupts = <9>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) 		clocks = <&cmu clk_HFPERCLKI2C0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) 		clock-frequency = <100000>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) 		energymicro,location = <3>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) 		eeprom@50 {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) 			compatible = "microchip,24c02";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 			reg = <0x50>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) 			pagesize = <16>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) 		};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) 	};
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33)