Additionally, here are the dts and dtsi files I added for the Variscite part: --------------------------------- arch/arm/dts/imx6q-var-custom.dts --------------------------------- /* * Copyright 2013 Michael Burkey * Based on code written by Christian Hemp, Phytec Messtechnik GmbH * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ /dts-v1/; #include "imx6q-var-som.dtsi" / { model = "Variscite i.MX6 Quad Custom Carrier-Board"; compatible = "variscite,imx6q-custom", "variscite,imx6q-som", "fsl,imx6q"; chosen { linux,stdout-path = &uart1; environment@0 { compatible = "barebox,environment"; device-path = &gpmi, "partname:barebox-environment"; }; }; }; &uart1 { status = "okay"; }; &usdhc2 { status = "okay"; }; &usbh1 { status = "okay"; disable-over-current; }; &i2c1 { status = "okay"; clock-frequency = <100000>; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c1_2>; }; ------------------------------- arch/arm/dts/imx6q-var-som-dtsi ------------------------------- /* * Copyright 2013 Michael Burkey * Based on code written by Christian Hemp, Phytec Messtechnik GmbH * * The code contained herein is licensed under the GNU General Public * License. You may obtain a copy of the GNU General Public License * Version 2 or later at the following locations: * * http://www.opensource.org/licenses/gpl-license.html * http://www.gnu.org/copyleft/gpl.html */ #include "imx6q.dtsi" / { model = "Variscite i.MX6 Quad SOM"; compatible = "variscite,imx6q-som", "fsl,imx6q"; memory { reg = <0x10000000 0x40000000>; }; }; &gpmi { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpmi_nand_1>; nand-on-flash-bbt; status = "okay"; #address-cells = <1>; #size-cells = <1>; partition@0 { label = "barebox"; reg = <0x0 0x200000>; }; partition@1 { label = "barebox-environment"; reg = <0x200000 0x10000>; }; partition@2 { label = "kernel"; reg = <0x210000 0x600000>; }; partition@3 { label = "rootfs"; reg = <0x860000 0x18000000>; }; partition@4 { label = "profilefs"; reg = <0x18860000 0x400000>; }; }; &usdhc2 { pinctrl-names = "default"; pinctrl-0 = <&pinctrl_usdhc2_2>; cd-gpios = <&gpio3 29 0>; status = "disabled"; }; _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox