Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1559249imu; Wed, 16 Jan 2019 22:49:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN73Wx6TBYv9fqB/X9pd1kn77HlOWan39FQs9OXod7bnoUneKlWXdtHJ/qi98ae22SMCghGf X-Received: by 2002:a17:902:4225:: with SMTP id g34mr14105503pld.152.1547707790643; Wed, 16 Jan 2019 22:49:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547707790; cv=none; d=google.com; s=arc-20160816; b=LUZiPgyhNdgc5GAl6/LOBXF1zbgde2WbpfK6iO0gcRdfvdQPF3L3jxyT0ofYQEUtxJ CLNyFmctmBUhMMsun/nyG8i0fXnXceejEHmGyqmxHDmo33x0QAxiNl+CpoG1ghteKx1Q XIVaPB4+I2ErmC+wlGfPArw+vioZKpnFbnI9C73A7AuRpmVLRlg3N0jKWuhltRsBE4jd uYmTTe3zTQS4cNl1ASqbgd9EKN3KbHNbu8IrEacnmxijYzCA0j386HFZH7GADDk6vRZz x8aubv7xSCw94Bv730stB29uE/03HPLmilyKZ0Q9XexQrJj7Wbo8I+Ssd/AWYUccDCvs BT3g== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=dUNj70748HNnwQMeBYqdWeK5DbMKqYQpIgSDSRP1d7Y=; b=azvFgisFH043+0cd2JdnrglLvVBigDh5V+mYRTM2oBYjlnBiXXP11Q409bShC9OTMc AtrPiA/zU3rh0PcgxYxRg+7MGGBZMjCUsbZhrQb87R6fvQYYuqiEiwBgp7i0/Hnic4qD kSsbRVNyZl1QtTQo6/wIRXiYasJ96mZuxc3qHEkZ0ah3dhKW+1OJGPhJc+fgesx/lIJS pVlEoslaIDAHB9mkmiDdHcVtbGiv+ytEazZ0nfk63I4JDOJVIzswVKKNnqOUn9l4gfm8 MIGeDi09uYA0SsuGUUYiXINwucBu92RFIEAL5zUZy9K/izMDTxk4f4H8UK+nXvGPHF3B BADg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=xtzWHJB5; 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 n187si898850pfn.83.2019.01.16.22.49.35; Wed, 16 Jan 2019 22:49:50 -0800 (PST) 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=xtzWHJB5; 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 S2388292AbfAPQwu (ORCPT + 99 others); Wed, 16 Jan 2019 11:52:50 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:39933 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729915AbfAPQwu (ORCPT ); Wed, 16 Jan 2019 11:52:50 -0500 Received: by mail-wr1-f67.google.com with SMTP id t27so7741649wra.6 for ; Wed, 16 Jan 2019 08:52:48 -0800 (PST) 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:mime-version :content-transfer-encoding; bh=dUNj70748HNnwQMeBYqdWeK5DbMKqYQpIgSDSRP1d7Y=; b=xtzWHJB5UEMKRrAmCfxZB/aeiqtD9KVgCKGMg2KnAYSp7ooLd3kQROL/ZMpcKcSiZx JoIf5TUz4ls8RjN4RTKRB6fCzg8XIgF2Ibg9FUcADrm5g9MVhn+txknwXWhPA8NARNFD wi1/4NjHP2VS4QrYXKgBzDIlJ/DYDhwRC9bFxPk8YhCck6z+QvinmJ2+v+TBnJXPROdy SChfcT9vGDA448hadUOEMc+khus9pFpdDC+XJOpR8oSoNO3yjLEGOySlqpEOs31SXUUo VJZAguJKxDTpJLgKMgc+sphN1DjOknhs5bw4pRcRQI0JhAKEgcKiuU++fodpQCPfMm0K ZRfQ== 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:mime-version :content-transfer-encoding; bh=dUNj70748HNnwQMeBYqdWeK5DbMKqYQpIgSDSRP1d7Y=; b=n5hWSc8TpBTxf1X7goh9dslVzvZpW67OuqWearapaZUdyx0ew7Ngcup3uYP7eAV6gl 05rsJTRpzfOItT/nJB4OUT23G7wTledH8umgdrDCAnQDGRKhVaT7trKlKO/viTXhJ1in GcsKRcDwdDwUpTZq20rq58fo389EV95c1IH08DvYT9bzXGHuT++jRM/nHeeBojU+rRTT T/oNjYKSXn9ouNiPmbcbrCBxAFnphDWTEv5Qx3FADvMzf3/8RbtJ02huphy/pRtu8RXr JhM8+TIYg5SWmi3FdBHPD6qj4bMRhLXz192quYdI4Fug+Ec1U4zhObE0oAXnhrkKBHDo XpWQ== X-Gm-Message-State: AJcUuke2LMvJM9plR5vw/K25R7cwHu4zjgT8/QUzDAID0MI8wrOPXKDY QlxemEEW7AMXGUaeZU8YU8LBBQ== X-Received: by 2002:adf:e284:: with SMTP id v4mr8067611wri.26.1547657568223; Wed, 16 Jan 2019 08:52:48 -0800 (PST) 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 a132sm46318997wmh.5.2019.01.16.08.52.46 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 16 Jan 2019 08:52:47 -0800 (PST) From: Jerome Brunet To: Kevin Hilman Cc: Jerome Brunet , linux-amlogic@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: meson: fix g12a buses Date: Wed, 16 Jan 2019 17:52:36 +0100 Message-Id: <20190116165236.8330-1-jbrunet@baylibre.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org periph and hiu bus addresses/size are wrong. cbus, aobus and apb just don't exist in the memory map so remove them. Fixes: 9c8c52f7cb4f ("arm64: dts: meson-g12a: add initial g12a s905d2 SoC DT support") Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 70 +++++++-------------- 1 file changed, 24 insertions(+), 46 deletions(-) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index 3b82a975c663..2aea5ba62fee 100644 --- a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi @@ -78,46 +78,40 @@ #size-cells = <2>; ranges; - periphs: periphs@ff634000 { + periphs: bus@ff634400 { compatible = "simple-bus"; - reg = <0x0 0xff634000 0x0 0x2000>; + reg = <0x0 0xff634400 0x0 0x400>; #address-cells = <2>; #size-cells = <2>; - ranges = <0x0 0x0 0x0 0xff634000 0x0 0x2000>; + ranges = <0x0 0x0 0x0 0xff634400 0x0 0x400>; }; - hiubus: bus@ff63c000 { + hiu: bus@ff63c000 { compatible = "simple-bus"; - reg = <0x0 0xff63c000 0x0 0x1c00>; + reg = <0x0 0xff63c000 0x0 0x1400>; #address-cells = <2>; #size-cells = <2>; - ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1c00>; + ranges = <0x0 0x0 0x0 0xff63c000 0x0 0x1400>; }; - aobus: bus@ff800000 { - compatible = "simple-bus"; - reg = <0x0 0xff800000 0x0 0x100000>; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x0 0x0 0x0 0xff800000 0x0 0x100000>; - - uart_AO: serial@3000 { - compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; - reg = <0x0 0x3000 0x0 0x18>; - interrupts = ; - clocks = <&xtal>, <&xtal>, <&xtal>; - clock-names = "xtal", "pclk", "baud"; - status = "disabled"; - }; - - uart_AO_B: serial@4000 { - compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart"; - reg = <0x0 0x4000 0x0 0x18>; - interrupts = ; - clocks = <&xtal>, <&xtal>, <&xtal>; - clock-names = "xtal", "pclk", "baud"; - status = "disabled"; - }; + uart_AO: serial@ff803000 { + compatible = "amlogic,meson-gx-uart", + "amlogic,meson-ao-uart"; + reg = <0x0 0xff803000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&xtal>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; + }; + + uart_AO_B: serial@ff804000 { + compatible = "amlogic,meson-gx-uart", + "amlogic,meson-ao-uart"; + reg = <0x0 0xff804000 0x0 0x18>; + interrupts = ; + clocks = <&xtal>, <&xtal>, <&xtal>; + clock-names = "xtal", "pclk", "baud"; + status = "disabled"; }; gic: interrupt-controller@ffc01000 { @@ -132,22 +126,6 @@ #interrupt-cells = <3>; #address-cells = <0>; }; - - cbus: bus@ffd00000 { - compatible = "simple-bus"; - reg = <0x0 0xffd00000 0x0 0x25000>; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x0 0x0 0x0 0xffd00000 0x0 0x25000>; - }; - - apb: apb@ffe00000 { - compatible = "simple-bus"; - reg = <0x0 0xffe00000 0x0 0x200000>; - #address-cells = <2>; - #size-cells = <2>; - ranges = <0x0 0x0 0x0 0xffe00000 0x0 0x200000>; - }; }; timer { -- 2.20.1