您尚未登录。

楼主 #1 2019-04-23 10:22:47

晕哥
管理员
注册时间: 2017-09-06
已发帖子: 9,342
积分: 9202

主线Linux 修改 V3s/S3 I2C 频率的方法

参考: https://www.kernel.org/doc/Documentation/devicetree/bindings/i2c/i2c-mv64xxx.txt

100Khz:

i2c0: i2c@1c2ac00 {
            compatible = "allwinner,sun6i-a31-i2c";
            reg = <0x01c2ac00 0x400>;
            interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
            clocks = <&ccu CLK_BUS_I2C0>;
            resets = <&ccu RST_BUS_I2C0>;
            pinctrl-names = "default";
            pinctrl-0 = <&i2c0_pins>;
            status = "disabled";
            clock-frequency = <100000>;
            #address-cells = <1>;
            #size-cells = <0>;
        };





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn