michael.chepo...@gmail.com (Michael Cheponis) writes:

-rwxr-xr-x  1 root  wheel  22630 Jun 16  2019 bcm2837-rpi-3-b-plus.dtb*

> Raspberry Pi 3 Model B Plus Rev 1.3 - so I'm not sure which of the
>highlighted dtb files is used.

That one would have i2c enabled. You can disassemble the dtb files with
e.g.

dtc -I dtb -O dts bcm2837-rpi-3-b-plus.dtb

and get something including:

                i2c@7e205000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e205000 0x1000>;
                        interrupts = <0x02 0x15>;
                        clocks = <0x04 0x14>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = <0x0e>;
                        clock-frequency = <0x186a0>;
                        linux,phandle = <0x47>;
                        phandle = <0x47>;
                };

                i2c@7e804000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e804000 0x1000>;
                        interrupts = <0x02 0x15>;
                        clocks = <0x04 0x14>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        status = "okay";
                        pinctrl-names = "default";
                        pinctrl-0 = <0x16>;
                        clock-frequency = <0x186a0>;
                        linux,phandle = <0x4f>;
                        phandle = <0x4f>;
                };

                i2c@7e805000 {
                        compatible = "brcm,bcm2835-i2c";
                        reg = <0x7e805000 0x1000>;
                        interrupts = <0x02 0x15>;
                        clocks = <0x04 0x14>;
                        #address-cells = <0x01>;
                        #size-cells = <0x00>;
                        status = "okay";
                        linux,phandle = <0x17>;
                        phandle = <0x17>;
                };

-- 
-- 
                                Michael van Elst
Internet: mlel...@serpens.de
                                "A potential Snark may lurk in every tree."

Reply via email to