Following your example I'm trying to set 400KHz on my i2c-1 too. I have a Beaglebone Black WIRELESS that loads am335x-boneblack-uboot.dtb as overlay.
UBOOT: https://pastebin.com/hA4RbNUm 1) Decompilation: dtc -I dtb -O dts -o am335x-boneblack-uboot.dts am335x-boneblack-uboot.dtb 2) Actually my i2c-1 is disabled. *WHY*? i2c@4802a000 { > compatible = "ti,omap4-i2c"; > #address-cells = <0x1>; > #size-cells = <0x0>; > ti,hwmods = "i2c2"; > reg = <0x4802a000 0x1000>; > interrupts = <0x47>; > status = "disabled"; > linux,phandle = <0xa6>; > phandle = <0xa6>; > }; I edited it with status = "okay"; > clock-frequency = <0x61A80>; > 3) Compiling: root@beaglebone:/boot/dtbs/4.4.91-ti-r139# dtc -I dts -O dtb -o am335x-boneblack-uboot.dtb am335x-boneblack-uboot.dts 4) Reboot > i2c-2 still 100KHz. Why? debian@beaglebone:~$ dmesg | grep i2c [ 1.617222] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/pinmux_i2c0_pins, deferring probe [ 1.618167] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 100 kHz [ 1.619474] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz [ 2.341082] i2c /dev entries driver [ 2.572081] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input0 [ 2.598709] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/24e3e6bb-0701-4dee-b55e-1aba149b3656%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.