BCM2708: Add core Device Tree support
[platform/kernel/linux-rpi.git] / arch / arm / boot / dts / overlays / i2c6-overlay.dts
1 /dts-v1/;
2 /plugin/;
3
4 /{
5         compatible = "brcm,bcm2711";
6
7         fragment@0 {
8                 target = <&i2c6>;
9                 frag0: __overlay__ {
10                         status = "okay";
11                         clock-frequency = <100000>;
12                 };
13         };
14
15         fragment@1 {
16                 target = <&i2c6_pins>;
17                 __dormant__ {
18                         brcm,pins = <0 1>;
19                 };
20         };
21
22         fragment@2 {
23                 target = <&i2c6_pins>;
24                 __overlay__ {
25                         brcm,pins = <22 23>;
26                 };
27         };
28
29         __overrides__ {
30                 pins_0_1 = <0>,"=1!2";
31                 pins_22_23 = <0>,"!1=2";
32                 baudrate = <&frag0>, "clock-frequency:0";
33         };
34 };