riscv: dts: starfive: Correct i2c scl/sda falling time
authorHal Feng <hal.feng@starfivetech.com>
Tue, 19 Jul 2022 06:20:44 +0000 (14:20 +0800)
committerHal Feng <hal.feng@starfivetech.com>
Tue, 19 Jul 2022 11:05:58 +0000 (19:05 +0800)
Signed-off-by: Hal Feng <hal.feng@starfivetech.com>
arch/riscv/boot/dts/starfive/jh7110-common.dtsi

index 193cfe4..8cbe905 100644 (file)
 &i2c0 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c0_pins>;
 &i2c1 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c1_pins>;
 &i2c2 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c2_pins>;
 &i2c3 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c3_pins>;
 &i2c4 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c4_pins>;
 &i2c5 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c5_pins>;
 &i2c6 {
        clock-frequency = <100000>;
        i2c-sda-hold-time-ns = <300>;
-       i2c-sda-falling-time-ns = <3000>;
-       i2c-scl-falling-time-ns = <3000>;
+       i2c-sda-falling-time-ns = <510>;
+       i2c-scl-falling-time-ns = <510>;
        auto_calc_scl_lhcnt;
        pinctrl-names = "default";
        pinctrl-0 = <&i2c6_pins>;