Created
August 23, 2023 17:24
-
-
Save MaffooClock/1ce31eb33500bdfc646bb30a43ce943b to your computer and use it in GitHub Desktop.
Overlay for Armbian to set I2C bus speed on Renegade (ROC-RK3328-CC)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Execute `armbian-add-overlay i2c-clock-frequency.dts` to | |
* automatically compile and add to /boot/armbianEnv.txt | |
*/ | |
/dts-v1/; | |
/plugin/; | |
/ { | |
compatible = "rockchip,rk3328"; | |
fragment@0 { | |
target = <&i2c0>; // Bus 0 | |
__overlay__ { | |
clock-frequency = <0x61A80>; // 400 Kbps | |
//clock-frequency = <0xF4240>; // 1 Mbps | |
}; | |
}; | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment