Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp154478imu; Wed, 19 Dec 2018 15:35:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/WYbPUWIP3G9+vLTRbu/Kh2LnUv/krbPhNoyO4KNnmIp4h1yv5V7qAeR9emG06RkSvd2Ylb X-Received: by 2002:a17:902:930b:: with SMTP id bc11mr22660205plb.17.1545262508923; Wed, 19 Dec 2018 15:35:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545262508; cv=none; d=google.com; s=arc-20160816; b=VlxyUUPu+ChtgWAmHgPMBWFyuwfHX5D3OGJpc/hqPcUUU7r1PAehXuNA7DRWUQ37GN G+cEjvVxc/sHZ5aGcvqrR4ettZbTpqVS0eTlgqgooma51LxFgmXNfSwqYNWarjhVaLQH yA+AmDmtvlVis3IbASZTgetBhCoNVepoqI8u4PwOCAaPnWTeJLhyEV8/nQE+H8sFDwRt fnYv7lhC9ZNsVvpBinLICGoiEQ9aTWSqmFTNk6PRh9iywfvde4BTZfmkHj0CudntdPl7 SYu0qHArqMELMYl00gbWfahbeM3vydEUDE5HP0764szYvbsKmY4A1Ix1ib0M6AS660Ro tGEg== 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 :dmarc-filter:dkim-signature:dkim-signature; bh=B0ldVG3ll9Z1Hv6GmEDIYIgPR1kToSAG7A5+tTAC354=; b=sDkAwIuNSmtAoalMXxBbtHEG02rscmotYrSLzhdSG3/jslLNgQvJxzH5wWwcv2iTyA dt6slCdoaHenYfv1UOPSYdBXJLes6suSoUqg0M/YPnoNUeiiky5IofSg1utenMS6CiM7 lyLDVMpGl0JXFBcp8JP/1kjiQTRQRa0ej+5+5mZVevk04fE1YDHiI6XS4hIlvFC79L7d NUWk4jWM43wBJ/CDv1HXvivjRcKS4I9hHMmY036d45v1uBLpzIk6PrOIxXsUO31eYPJC UJk+4Js26oWFe8JFlHy/jKGKg8PvkBrr+Q7zSD6G+0q2BH+UUHi8yarnF2nZOY6EJs8P c1Wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=eWh93uPB; dkim=pass header.i=@codeaurora.org header.s=default header.b=eWh93uPB; 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 d1si17599466pgg.301.2018.12.19.15.34.53; Wed, 19 Dec 2018 15:35:08 -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=@codeaurora.org header.s=default header.b=eWh93uPB; dkim=pass header.i=@codeaurora.org header.s=default header.b=eWh93uPB; 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 S1729427AbeLSTwu (ORCPT + 99 others); Wed, 19 Dec 2018 14:52:50 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:33806 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727602AbeLSTwt (ORCPT ); Wed, 19 Dec 2018 14:52:49 -0500 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id C42EB6058E; Wed, 19 Dec 2018 19:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545249168; bh=KcvvPK1QoefApDWLIZYgOhr2Z4ApmfzGh91E9lf8gcE=; h=From:To:Cc:Subject:Date:From; b=eWh93uPBGSXRJyO+nuwGnKoDqxt8aSMQ4Yf4fyqi3+aWqA31jX4eBdJevgEIwj+/2 yXqEiNd/FOQTljqqwMOqb9ZqGziExu5RlKUNKjS/a6floBGL6XmkM+wmNtW5/25Ysz FA25yhV1xis5R10S/a7b7D1wBX9V9X87W79XoSDM= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_INVALID,DKIM_SIGNED autolearn=no autolearn_force=no version=3.4.0 Received: from jhugo-perf-lnx.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: jhugo@smtp.codeaurora.org) by smtp.codeaurora.org (Postfix) with ESMTPSA id 7DC546028D; Wed, 19 Dec 2018 19:52:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1545249168; bh=KcvvPK1QoefApDWLIZYgOhr2Z4ApmfzGh91E9lf8gcE=; h=From:To:Cc:Subject:Date:From; b=eWh93uPBGSXRJyO+nuwGnKoDqxt8aSMQ4Yf4fyqi3+aWqA31jX4eBdJevgEIwj+/2 yXqEiNd/FOQTljqqwMOqb9ZqGziExu5RlKUNKjS/a6floBGL6XmkM+wmNtW5/25Ysz FA25yhV1xis5R10S/a7b7D1wBX9V9X87W79XoSDM= DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 7DC546028D Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=jhugo@codeaurora.org From: Jeffrey Hugo To: andy.gross@linaro.org, david.brown@linaro.org Cc: robh+dt@kernel.org, mark.rutland@arm.com, bjorn.andersson@linaro.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Jeffrey Hugo Subject: [PATCH] arm64: dts: qcom: msm8998: Enumerate i2c controllers Date: Wed, 19 Dec 2018 12:52:39 -0700 Message-Id: <1545249159-18628-1-git-send-email-jhugo@codeaurora.org> X-Mailer: git-send-email 1.9.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org msm8998 has a dozen i2c controllers which can be used to connect to board specific peripherals. Enumerate the controllers so that boards can wire up as needed. Signed-off-by: Jeffrey Hugo --- arch/arm64/boot/dts/qcom/msm8998.dtsi | 180 ++++++++++++++++++++++++++++++++++ 1 file changed, 180 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8998.dtsi b/arch/arm64/boot/dts/qcom/msm8998.dtsi index 8d41b69..720bce6 100644 --- a/arch/arm64/boot/dts/qcom/msm8998.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8998.dtsi @@ -624,6 +624,186 @@ status = "disabled"; }; + i2c1: i2c@c175000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc175000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP1_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c2: i2c@c176000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc176000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c3: i2c@c177000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc177000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c4: i2c@c178000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc178000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c5: i2c@c179000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc179000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP5_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c6: i2c@c17a000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc17a000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c7: i2c@c1b5000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc1b5000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP1_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c8: i2c@c1b6000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc1b6000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP2_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c9: i2c@c1b7000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc1b7000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP3_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c10: i2c@c1b8000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc1b8000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP4_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c11: i2c@c1b9000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc1b9000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP5_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + + i2c12: i2c@c1ba000 { + compatible = "qcom,i2c-qup-v2.2.1"; + reg = <0xc175000 0x600>; + interrupts = ; + + clocks = <&gcc GCC_BLSP2_QUP6_I2C_APPS_CLK>, + <&gcc GCC_BLSP1_AHB_CLK>; + clock-names = "core", "iface"; + clock-frequency = <400000>; + + status = "disabled"; + #address-cells = <1>; + #size-cells = <0>; + }; + blsp2_uart1: serial@c1b0000 { compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; reg = <0xc1b0000 0x1000>; -- Qualcomm Datacenter Technologies as an affiliate of Qualcomm Technologies, Inc. Qualcomm Technologies, Inc. is a member of the Code Aurora Forum, a Linux Foundation Collaborative Project.