[PATCH v1 6/6] ARM: BCM5301X: Add DT for Meraki MR32

Florian Fainelli f.fainelli at gmail.com
Tue Aug 18 16:11:39 EDT 2020



On 8/18/2020 9:39 AM, Christian Lamparter wrote:
[snip]
> +	i2c-gpio {
> +		compatible = "i2c-gpio";
> +		sda-gpios = <&chipcommon 5 GPIO_ACTIVE_HIGH>;
> +		scl-gpios = <&chipcommon 4 GPIO_ACTIVE_HIGH>;
> +		i2c-gpio,delay-us = <10>; /* close to 100 kHz */
> +		#address-cells = <1>;
> +		#size-cells = <0>;

Can you try using the hardware controller here instead of bit banging 
i2c over gpios? GPIOs 4 and 5 are the default pins for I2C.
-- 
Florian



More information about the linux-arm-kernel mailing list