Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753078AbcDSLaL (ORCPT ); Tue, 19 Apr 2016 07:30:11 -0400 Received: from mail-io0-f176.google.com ([209.85.223.176]:33304 "EHLO mail-io0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752241AbcDSLaI (ORCPT ); Tue, 19 Apr 2016 07:30:08 -0400 MIME-Version: 1.0 In-Reply-To: <1460420743-30883-1-git-send-email-sergio.prado@e-labworks.com> References: <1460420743-30883-1-git-send-email-sergio.prado@e-labworks.com> Date: Tue, 19 Apr 2016 08:30:07 -0300 Message-ID: Subject: Re: [PATCH v2] ARM: dts: imx6: Add dts for Embest MarS Board From: Fabio Estevam To: Sergio Prado Cc: "robh+dt@kernel.org" , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Russell King , Shawn Guo , Sascha Hauer , "devicetree@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , linux-kernel Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2412 Lines: 76 On Mon, Apr 11, 2016 at 9:25 PM, Sergio Prado wrote: > +/dts-v1/; > +#include "imx6q.dtsi" > +#include > + > +/ { > + model = "Embest MarS Board i.MX6Dual"; > + compatible = "embest,imx6q-marsboard", "fsl,imx6dl"; This should be "fsl,imx6q". > + > + memory { > + reg = <0x10000000 0x40000000>; > + }; > + > + regulators { > + compatible = "simple-bus"; > + #address-cells = <1>; > + #size-cells = <0>; Please remove the "simple-bus". Please check this commit: https://git.kernel.org/cgit/linux/kernel/git/shawnguo/linux.git/commit/arch/arm/boot/dts/imx6q-tbs2910.dts?h=for-next&id=ddcc6cad715319fff53968db7110a287dbc4a77e > + > + reg_3p3v: regulator@1 { > + compatible = "regulator-fixed"; > + reg = <1>; > + regulator-name = "3P3V"; > + regulator-min-microvolt = <3300000>; > + regulator-max-microvolt = <3300000>; > + }; > + > + reg_usb_otg_vbus: regulator@2 { > + compatible = "regulator-fixed"; > + reg = <2>; > + regulator-name = "usb_otg_vbus"; > + regulator-min-microvolt = <5000000>; > + regulator-max-microvolt = <5000000>; > + gpio = <&gpio3 22 GPIO_ACTIVE_HIGH>; You missed the 'enable-active-high' property. > + }; > + }; > + > + leds { > + compatible = "gpio-leds"; > + pinctrl-names = "default"; > + pinctrl-0 = <&pinctrl_led>; > + > + led@1 { There is no need for @1. > + label = "imx6:green:user1"; > + gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; > + default-state = "off"; > + linux,default-trigger = "heartbeat"; > + }; > + > + led@2 { There is no need for @2. > + > +&iomuxc { > + imx6-riotboard { > + pinctrl_uart1: uart1grp { You can simplify the iomuxc node by doing like this: https://git.kernel.org/cgit/linux/kernel/git/shawnguo/linux.git/commit/arch/arm/boot/dts/imx6q-tbs2910.dts?h=for-next&id=aa7871b53bc3c36b4adefe67f728143e2deeec93