Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp766458ybl; Fri, 10 Jan 2020 06:24:10 -0800 (PST) X-Google-Smtp-Source: APXvYqzEDceTAWwR2EQ4JyIjjaUl6cCTfFc96QRmTH+YClDanhzJKzqmFOrjDZrFJyCbdTmIUcLA X-Received: by 2002:a9d:22:: with SMTP id 31mr2616454ota.173.1578666250440; Fri, 10 Jan 2020 06:24:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578666250; cv=none; d=google.com; s=arc-20160816; b=SjgrguH7KqKPQCNRr/iX9k1oG00F1RrVFcJ86X+QTz/kHwsfQTIJeOLm9Q7lZFNLuT 6foN0I4eI503j6ka9fTWexgzqfJ4llj2hZSdc6+VxMatYRwbBEewMZ35rIPtpGEt289z NYggc5ZcD1XSKWjnt+NZZGpt2MdwKM64CdwqGeDJFulyHdccXMYwuu5n73/PDtesvAVN WdgObwQJXoVikpWAgwqW1dXRe101/ZEbVaGflRbqTkP+4Yk4zZwuQ32zIQyB/7XZ0tuw E2vNSgxF0e/pVXD21xnn6Y7fAGaflU/1Xr0aAFmmfZCMMoO76dQ7NbKc8VbAlkww5uKG wTSg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=QkqpNRwkXEHz49j2PunwFe7h2mlM4jVm/CGNg1v229A=; b=ayp7tw2n65UPlBJB8ZjVNwbBWngGMDRGlS+ebDQXmxkVHQCQRuEZ6+tJZmkxNn8VYz acaRSObKM7mF6oRsBilrZV357K0M+WmrUHvvyJIbBB7Vjrx1Hy1AE/IC7u3n7fWBX7Qt mN03Lw+FBY2bWaiAAinMOcGZ2ZIbkNhySO9kPcwsrcWqaVnMyrwKUbBhGSOIVdo3bIBw YEJqd+UkQguBo0bhvHRSnA/9zr3KWbJ5gTHOIC0z4aqT8Wmey1qd8XdWzMZeS9PYgFsY RKrUSqtH8n+lWxmnOm7DZDNZKWK5nDWryDBC3dgsE7Vph4HSlzv9vf4T80Yj+aUQL7wy XKRA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=inEtJl6o; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z21si1080173oic.32.2020.01.10.06.23.56; Fri, 10 Jan 2020 06:24:10 -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=@gmail.com header.s=20161025 header.b=inEtJl6o; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727889AbgAJOVh (ORCPT + 99 others); Fri, 10 Jan 2020 09:21:37 -0500 Received: from mail-wr1-f68.google.com ([209.85.221.68]:34077 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727781AbgAJOVh (ORCPT ); Fri, 10 Jan 2020 09:21:37 -0500 Received: by mail-wr1-f68.google.com with SMTP id t2so2004029wrr.1; Fri, 10 Jan 2020 06:21:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=QkqpNRwkXEHz49j2PunwFe7h2mlM4jVm/CGNg1v229A=; b=inEtJl6o63GPIno4sMCknRjQUtHCqDqQ2rVqdGl39A15ONvLjSveFoJZKq0KuAp8uh 7jTxdKyb5QX0N8GlIczHpo6kE4aiQ1EJjf+zclxPcozEZ/SPIdEUWaaZkc+liDfkKTJT f57oFrnG+PA2o+tvcFZ9Zu7p5T4zatmHRREv53K+Kpi/HALZpo3jbxssQyaQ9zpXyYB3 1O4Vdn/dU/95ezs7ngnYqwSuDpK+w8Et5Dy4fT9VETk1EAzw5h4wGGjPlRWG+f/v4d7O bNF38GbFVVXoCGzg0Sm4yJm6gc3WTDp4WMdGUXQ6M2pim5906SlsmSRH+xWkFKoDq+NC NsmQ== 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; bh=QkqpNRwkXEHz49j2PunwFe7h2mlM4jVm/CGNg1v229A=; b=tqU/Vm1uCqRwCuIEVg/UaQGL7hvG4xy60hDiYxTTiqMd5YSDnrlhO2Ywz0i5btzFL4 eL852wa1ykBuv9p2gtBXTo4mQiLRQa0XNCv8fVDpYNgxqZ/HXharaM3mqdCTwAnSm1Lu NI6TRBRfjd3hHSFdvzs6hR52w++cZbuwHNFKss81SUP3QCXvsKBkBBP/f+mLNpB0g5pM Tyk04aW0u8PbicU1ZaA2j/Abmz+0xe5wjLn81+V/hBl9MhhDDBwBYtqOeVz1SghE1sHK kqkNImBAzQ3xiBmuHIHjRY2GE4a5MTL8MpMRSxE6QmcBIhRw3TpzE5q3OWpPTfnpiDiI /Pkg== X-Gm-Message-State: APjAAAW1SXY8vaf10UHrFe9R/VIWQSklWvyGdVYsNDZiZC5aGfmE5INd aK0Z8zKy7KZwEKqx8FJ1yAI= X-Received: by 2002:a5d:5704:: with SMTP id a4mr3904876wrv.198.1578666095767; Fri, 10 Jan 2020 06:21:35 -0800 (PST) Received: from debian.home (ip51ccf9cd.speed.planet.nl. [81.204.249.205]) by smtp.gmail.com with ESMTPSA id a9sm2314148wmm.15.2020.01.10.06.21.34 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 10 Jan 2020 06:21:35 -0800 (PST) From: Johan Jonker To: heiko@sntech.de Cc: robh+dt@kernel.org, mark.rutland@arm.com, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] arm64: dts: rockchip: add reg property to brcmf sub node Date: Fri, 10 Jan 2020 15:21:28 +0100 Message-Id: <20200110142128.13522-1-jbx6244@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org An experimental test with the command below gives this error: rk3399-firefly.dt.yaml: dwmmc@fe310000: wifi@1: 'reg' is a required property rk3399-orangepi.dt.yaml: dwmmc@fe310000: wifi@1: 'reg' is a required property rk3399-khadas-edge.dt.yaml: dwmmc@fe310000: wifi@1: 'reg' is a required property rk3399-khadas-edge-captain.dt.yaml: dwmmc@fe310000: wifi@1: 'reg' is a required property rk3399-khadas-edge-v.dt.yaml: dwmmc@fe310000: wifi@1: 'reg' is a required property So fix this by adding a reg property to the brcmf sub node. Also add #address-cells and #size-cells to prevent more warnings. make ARCH=arm64 dtbs_check DT_SCHEMA_FILES=Documentation/devicetree/bindings/mmc/rockchip-dw-mshc.yaml Signed-off-by: Johan Jonker --- arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 3 +++ arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi | 3 +++ arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts | 3 +++ 3 files changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts index 92de83dd4..06043179f 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts @@ -669,9 +669,12 @@ vqmmc-supply = &vcc1v8_s3; /* IO line */ vmmc-supply = &vcc_sdio; /* card's power */ + #address-cells = <1>; + #size-cells = <0>; status = "okay"; brcmf: wifi@1 { + reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&gpio0>; interrupts = ; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi index 4944d78a0..e87a04477 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-khadas-edge.dtsi @@ -654,9 +654,12 @@ sd-uhs-sdr104; vqmmc-supply = <&vcc1v8_s3>; vmmc-supply = <&vccio_sd>; + #address-cells = <1>; + #size-cells = <0>; status = "okay"; brcmf: wifi@1 { + reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&gpio0>; interrupts = ; diff --git a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts index 0541dfce9..9c659f311 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-orangepi.dts @@ -648,9 +648,12 @@ pinctrl-names = "default"; pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; sd-uhs-sdr104; + #address-cells = <1>; + #size-cells = <0>; status = "okay"; brcmf: wifi@1 { + reg = <1>; compatible = "brcm,bcm4329-fmac"; interrupt-parent = <&gpio0>; interrupts = ; -- 2.11.0