From patchwork Fri May 10 15:53:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jerome Brunet X-Patchwork-Id: 163896 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:142:0:0:0:0 with SMTP id j2csp2551645ilr; Fri, 10 May 2019 08:53:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqxo7DBWVgVFCw6mowwYrNKaE2+Fblw0QefIQNgenQ4Cx92OgcSlOfsgsas7oKCCBucrgX2P X-Received: by 2002:a17:902:c85:: with SMTP id 5mr13648736plt.172.1557503617727; Fri, 10 May 2019 08:53:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1557503617; cv=none; d=google.com; s=arc-20160816; b=tvp+Ki+UnsIHJt6J/quQb+187GjDXEfMnrLzEu6J3X0nfhTunR36uwVpjWT2TOjOjs fvO25BP0HV0CoO2XE5MszRqhaDwCA9qVcU/Q6TtQBJNyf8lQb8OQwynlgdjK/tmX53dR ys7mPLdrqDEhoUg1hx7MOm9AlV8KSLVlGrQfwRLIG6Nrf0WlBg0973VOMTcxdBzVvrTS kZTWc7XYQSjxC3gUK4qFI9gfSniiqM+zlsjtKD96XG5RBrrvGt9zH1hxfRE+gFh2GQbk V30otqt4kBga0vcUAS6n9XiAxOMRBJ3XWAsmeZgfb9J7W9Fm/kpsdLVZ47tuLeHWA+R7 RyuQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=3EP7z+/Y2988kk6BnMUMk36B6V5NCtniTm81fwS2Dbs=; b=dauc1DnhkTd1GgUphx5D/SL4+5c2uTDcNgh+aFKr4aCygw6UWlpIJmLFVe1TqMvjMS uzjyPKnW04Sucm8Qp6686stP/OJB1Dt/wAO0nkecyWt+FQzzITXmQEoR5tkqLzh7ItV3 xiIiO/ilkzvCENbAVqXZOS7MCHXQcpynP2kYNE5CWSv/nStZuofptHSoQ7OtNdpDcWl+ nS7xhm1eYZWNPgnNJid+nLxelPzJhPxjhQd+quFzszp/F/K6Hq8RJ1gQeZ+mYQjgQ1rj ZrCo3feTDuwbgZGm72mD5BAuoYm3+QFzdiJJ2nTtvNme6gPBRZIpx46O7KkNq5Ah5xO5 G8hA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cFKNU0Oc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m11si8052893pgc.244.2019.05.10.08.53.37; Fri, 10 May 2019 08:53:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=cFKNU0Oc; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727833AbfEJPxg (ORCPT + 30 others); Fri, 10 May 2019 11:53:36 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:38170 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727551AbfEJPxd (ORCPT ); Fri, 10 May 2019 11:53:33 -0400 Received: by mail-wm1-f68.google.com with SMTP id f2so8031243wmj.3 for ; Fri, 10 May 2019 08:53:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=3EP7z+/Y2988kk6BnMUMk36B6V5NCtniTm81fwS2Dbs=; b=cFKNU0OcqMqoiGb6m1ldgJj9kCbZxCY5yi5zRW2m86v+sUh5A61vwHwpqkVX2pEEY5 49PmLzkcpQRVolhLvdPmOz6Xy4SkgFcvFZ44srHes/W92AcadceBhgPHxfjAhqC/lzIX 1UjyJ4MDmU9TlkoKjZjcH8hdm/nN+Gg0RznJ5LfVcZRHxJpvDA8ZGfcCDVJC2NuASqir QOm+SMuND8jf8pv8Pk0o6NTMWLVorhWNqvxZYFPnwg9klVyu6Zy6l1Vbz0dHTegi6lRK GnK89aVmmHSOWFoP3Mg2R7niF0PzggghPdOemyUS3bneafLw1dj48Xwb85KqOElPm9FE 7ohg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=3EP7z+/Y2988kk6BnMUMk36B6V5NCtniTm81fwS2Dbs=; b=Gat6uIxDfnqZL8nqVZFMg786hgdl4B6YuEd/CW/jOshjt62XJt5ppm/23lE9l7bNVn iETsqP5dxCl0OIGMei0q9W/j8LV7O9RA7Hx/bqZVrxQxEOxOHy2Gb6dOFk/2OyUdHw3K AoBkf4ghrnQTs5CcK4ewmKqHMXrK1Re6nwlIRejdM8IyBL9ffAFnmCXed8rSasrdhh9K Ki4rywXDkRbEb0YYBlqW8obkGwV7ulyP/cg+ioB+qVo4vdHbWDbV54lkPn7q3guQ48IM mht1CQtC6Z4dnbAKgUBWiz7Zo/38IR/NFBlgPEINnMgieVllHXQbGIxPf8+ahj5g+g6m GWgg== X-Gm-Message-State: APjAAAVB8SVPvLV7BQ6hkEggNnA0FSWnbHz27iZUn3sHM/hDS9xoIsKc RgyOTnoO3INFoDACP70gNMEU9gwkkE4= X-Received: by 2002:a1c:20c9:: with SMTP id g192mr7438658wmg.76.1557503611487; Fri, 10 May 2019 08:53:31 -0700 (PDT) Received: from boomer.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id u14sm5333860wrn.30.2019.05.10.08.53.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 May 2019 08:53:30 -0700 (PDT) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: meson: sei510: consistently order nodes Date: Fri, 10 May 2019 17:53:26 +0200 Message-Id: <20190510155327.5759-2-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190510155327.5759-1-jbrunet@baylibre.com> References: <20190510155327.5759-1-jbrunet@baylibre.com> MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Like order boards, order nodes by address then node names then aliases. Signed-off-by: Jerome Brunet --- .../boot/dts/amlogic/meson-g12a-sei510.dts | 92 +++++++++---------- 1 file changed, 46 insertions(+), 46 deletions(-) -- 2.20.1 diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts index 34b40587e5ef..61fb30047d7f 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts +++ b/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts @@ -14,10 +14,6 @@ compatible = "seirobotics,sei510", "amlogic,g12a"; model = "SEI Robotics SEI510"; - aliases { - serial0 = &uart_AO; - }; - adc_keys { compatible = "adc-keys"; io-channels = <&saradc 0>; @@ -31,13 +27,8 @@ }; }; - ao_5v: regulator-ao_5v { - compatible = "regulator-fixed"; - regulator-name = "AO_5V"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - vin-supply = <&dc_in>; - regulator-always-on; + aliases { + serial0 = &uart_AO; }; chosen { @@ -54,23 +45,6 @@ }; }; - dc_in: regulator-dc_in { - compatible = "regulator-fixed"; - regulator-name = "DC_IN"; - regulator-min-microvolt = <5000000>; - regulator-max-microvolt = <5000000>; - regulator-always-on; - }; - - emmc_1v8: regulator-emmc_1v8 { - compatible = "regulator-fixed"; - regulator-name = "EMMC_1V8"; - regulator-min-microvolt = <1800000>; - regulator-max-microvolt = <1800000>; - vin-supply = <&vddao_3v3>; - regulator-always-on; - }; - hdmi-connector { compatible = "hdmi-connector"; type = "a"; @@ -87,12 +61,30 @@ reg = <0x0 0x0 0x0 0x40000000>; }; - reserved-memory { - /* TEE Reserved Memory */ - bl32_reserved: bl32@5000000 { - reg = <0x0 0x05300000 0x0 0x2000000>; - no-map; - }; + ao_5v: regulator-ao_5v { + compatible = "regulator-fixed"; + regulator-name = "AO_5V"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + vin-supply = <&dc_in>; + regulator-always-on; + }; + + dc_in: regulator-dc_in { + compatible = "regulator-fixed"; + regulator-name = "DC_IN"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + + emmc_1v8: regulator-emmc_1v8 { + compatible = "regulator-fixed"; + regulator-name = "EMMC_1V8"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + vin-supply = <&vddao_3v3>; + regulator-always-on; }; vddao_3v3: regulator-vddao_3v3 { @@ -122,6 +114,14 @@ vin-supply = <&vddao_3v3>; regulator-always-on; }; + + reserved-memory { + /* TEE Reserved Memory */ + bl32_reserved: bl32@5000000 { + reg = <0x0 0x05300000 0x0 0x2000000>; + no-map; + }; + }; }; &cec_AO { @@ -144,6 +144,18 @@ }; }; +&hdmi_tx { + status = "okay"; + pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; + pinctrl-names = "default"; +}; + +&hdmi_tx_tmds_port { + hdmi_tx_tmds_out: endpoint { + remote-endpoint = <&hdmi_connector_in>; + }; +}; + &saradc { status = "okay"; vref-supply = <&vddio_ao1v8>; @@ -161,18 +173,6 @@ }; }; -&hdmi_tx { - status = "okay"; - pinctrl-0 = <&hdmitx_hpd_pins>, <&hdmitx_ddc_pins>; - pinctrl-names = "default"; -}; - -&hdmi_tx_tmds_port { - hdmi_tx_tmds_out: endpoint { - remote-endpoint = <&hdmi_connector_in>; - }; -}; - &uart_AO { status = "okay"; pinctrl-0 = <&uart_ao_a_pins>;