From mboxrd@z Thu Jan 1 00:00:00 1970 From: frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Subject: [RFC PATCH 5/5] overlay: bad_a_2.dts, example of an old style dts file to be converted Date: Tue, 27 Dec 2016 23:20:17 -0800 Message-ID: <1482909617-31950-6-git-send-email-frowand.list@gmail.com> References: <1482909617-31950-1-git-send-email-frowand.list@gmail.com> Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=cfb1+eAf/Q6KWCcp64fS3UvIm7G18A651Suwm6+LYeI=; b=IStK+52xXUvp9zrR1jUYMr/MZ1v7oKk8POOl8H2rz213gmJqkVK4FVoRVM0Cnrq7WD V3yGdnUEptFUz7BhXJi/qFBuSBjCT8KAELI2y5LvDRnEQQAzBmsAFlmfN+WG3wyiMbNF A5L2d0/3L251dNT8odh6u+Zm4B7dWwMYa+SaCunV9UNbsoYKAhy7kq9gbwFy1D+a+KnO pvpwX2qfck2wpSurH+j1wtfBgMzyA7BcUwYpksH4fYIp2ufq7dbcSZSFdwNMYojgWl6/ YMI9JY5SQ4ddb20W1TxvFMdEZ1yWbbJGvZYQO7I37u5aBOmreeqM9Q9TVXgvmHsL1mre 7wmQ== In-Reply-To: <1482909617-31950-1-git-send-email-frowand.list-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: david-xT8FGy+AXnRB3Ne2BGzF6laj5H9X9Tb+@public.gmane.org, jdl-CYoMK+44s/E@public.gmane.org, pantelis.antoniou-OWPKS81ov/FWk0Htik3J/w@public.gmane.org, Pantelis Antoniou Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Rob Herring , glikely-s3s/WqlpOiPyB63q8FvJNQ@public.gmane.org, jlu-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, s.hauer-bIcnvbaLZ9MEGnE8C9+IrQ@public.gmane.org, phil-FnsA7b+Nu9XbIbC87yuRow@public.gmane.org, sjg-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org, thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, boris.brezillon-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, antoine.tenart-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org, stephen.boyd-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org From: Frank Rowand 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 bad_a_2.dts bad_b_2.dts No 'target' property in node fragment@1 ERROR: unable to convert bad_a_2.dts Signed-off-by: Frank Rowand --- bad_a_2.dts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 bad_a_2.dts diff --git a/bad_a_2.dts b/bad_a_2.dts new file mode 100644 index 000000000000..68ac978f516c --- /dev/null +++ b/bad_a_2.dts @@ -0,0 +1,36 @@ +/dts-v1/; +/plugin/; + +/ { + fragment@0 { + target = <&am3353x_pinmux>; + + __overlay__ { + + i2c1_pins: pinmux_i2c1_pins { + pinctrl-single,pins = < + 0x158 0x72 + 0x15c 0x72 + >; + }; + }; + }; + + fragment@1 { + + __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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html