cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

i2c-lpc2k.txt (751B)


      1NXP I2C controller for LPC2xxx/178x/18xx/43xx
      2
      3Required properties:
      4 - compatible: must be "nxp,lpc1788-i2c"
      5 - reg: physical address and length of the device registers
      6 - interrupts: a single interrupt specifier
      7 - clocks: clock for the device
      8 - #address-cells: should be <1>
      9 - #size-cells: should be <0>
     10
     11Optional properties:
     12- clock-frequency: the desired I2C bus clock frequency in Hz; in
     13  absence of this property the default value is used (100 kHz).
     14
     15Example:
     16i2c0: i2c@400a1000 {
     17	compatible = "nxp,lpc1788-i2c";
     18	reg = <0x400a1000 0x1000>;
     19	interrupts = <18>;
     20	clocks = <&ccu1 CLK_APB1_I2C0>;
     21	#address-cells = <1>;
     22	#size-cells = <0>;
     23};
     24
     25&i2c0 {
     26	clock-frequency = <400000>;
     27
     28	lm75@48 {
     29		compatible = "nxp,lm75";
     30		reg = <0x48>;
     31	};
     32};
     33