Have you verified that you are atleast booting the same *.dtb that you
> are modifiing:
>
> You can check the live tree via:
>
> root@beaglebone:~# fdtdump /sys/firmware/devicetree/base/ocp/i2c@4802a000/
> /* dump of live tree at /sys/firmware/devicetree/base/ocp/i2c@4802a000 */
> / {
> reg = <0x4802a000 0x00001000>;
> name = "i2c";
> interrupts = <0x00000047>;
> pinctrl-0;
> compatible = "ti,omap4-i2c";
> clock-frequency = <0x000186a0>;
> status = "okay";
> #address-cells = <0x00000001>;
> ti,hwmods = "i2c2";
> phandle = <0x000000a9>;
> #size-cells = <0x00000000>;
> pinctrl-names = "default";
> linux,phandle = <0x000000a9>;
> };
>
>
That doesn't work for me:
bbb2g# fdtdump /sys/firmware/devicetree/base/ocp/i2c@4819c000/
Couldn't open blob from '/sys/firmware/devicetree/base/ocp/i2c@4819c000/':
Is a directory
FATAL ERROR: could not read: /sys/firmware/devicetree/base/ocp/i2c@4819c000/
However (I think I forgot to mention that I also modified
/lib/firmware/BB-I2C2-00A0.dtbo)
fdtdump /lib/firmware/BB-I2C2-00A0.dtbo >
/home/jhalpin/BB-I2C2-00A0.dtbo.dump
Does work and shows the bus speed to be 400000, but dmesg still says
100000. Wierd
/ {
compatible = "ti,beaglebone", "ti,beaglebone-black",
"ti,beaglebone-green";
part-number = "BB-I2C2";
version = "00A0";
exclusive-use = "P9.19", "P9.20", "i2c2";
fragment@0 {
target = <0xffffffff>;
__overlay__ {
pinmux_bb_i2c2_pins {
pinctrl-single,pins = <0x00000178 0x00000073 0x0000017c
0x00000073>;
linux,phandle = <0x00000001>;
phandle = <0x00000001>;
};
};
};
fragment@1 {
target = <0xffffffff>;
__overlay__ {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <0x00000001>;
clock-frequency = <0x00061a80>;
#address-cells = <0x00000001>;
#size-cells = <0x00000000>;
};
};
__symbols__ {
bb_i2c2_pins = "/fragment@0/__overlay__/pinmux_bb_i2c2_pins";
};
__fixups__ {
am33xx_pinmux = "/fragment@0:target:0";
i2c2 = "/fragment@1:target:0";
};
__local_fixups__ {
fragment@1 {
__overlay__ {
pinctrl-0 = <0x00000000>;
};
};
};
};
Thanks
Joe
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/beagleboard/c4ebec41-211c-49a0-ad15-63b86ef5521d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.