From: Frank Rowand <frank.rowand@xxxxxxxxxxx> Requires a dtc that supports the new syntactic sugar. One such version is commit: 6f4db2fc2354 DTBO magic and dtbo format options in url = https://github.com/pantoniou/dtc $ export PATH="$PATH:/path/dtc/" $ ./overlay_convert_old_to_new a.dts b.dts Signed-off-by: Frank Rowand <frank.rowand@xxxxxxxxxxx> --- a.dts | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 a.dts diff --git a/a.dts b/a.dts new file mode 100644 index 000000000000..ec21206a081f --- /dev/null +++ b/a.dts @@ -0,0 +1,37 @@ +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&am3353x_pinmux>; + + __overlay__ { + + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + 0x158 0x72 + 0x15c 0x72 + >; + }; + }; + }; + + fragment@1 { + target = <&i2c1>; + + __overlay__ { + #address-cells = <1>; + #size-cells = <0>; + pinctrl-names = "default"; + pinctrl-0 = <&i2c1_pins>; + clock-frequency = <400000>; + status = "okay"; + + at24@50 { + compatible = "at,24c256"; + pagesize = <64>; + reg = <0x50>; + }; + }; + }; +}; -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html