Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp8736683ybn; Tue, 1 Oct 2019 12:09:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqxwjAKdKKhuWZpjobWuE0RK2xQe1q7gO8axb9uDQC3jZiuBd4torb+QyYq9mKHadfOUAsmf X-Received: by 2002:aa7:d611:: with SMTP id c17mr27825269edr.196.1569956987148; Tue, 01 Oct 2019 12:09:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569956987; cv=none; d=google.com; s=arc-20160816; b=KagTTnp4HcFOGs1CVqWZJ64qwJPfoyvPFdl5ze5YnKeq0GCDai7lGAh3A7lnMkbyJF xjbeHGxkiX54ZuJUVtPAJ81NrdMoIfEM0OpogsCx1fg2PurbrFcItdLqXAwdA7fAxIJv SP5agJzPZsmyNbw/HarDZPeLKfF+RHVUZPRjd1xmUYZjwxjB0HG0ZxAwgzjAfSZrLGtC zCXWb+jdPLauh50xSZzrl1AJNvk50GxEaEKssIhFlCBia25Q+lhd/plVysma+1IRs/NV AV/f/cUgsyBO5CcPOZgYWBqExJOx/EZDp5BLeXyQBwVcIxn0q58lKc0JaH1L50oQDiRK JpvQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=b+LjemFDxUNMrB9rHbfUreCeR0HbcM3LO0FBgY4gp/M=; b=SJIvJow5LdPExzAwCGitn3KPHtiqXtZ/0dYarvEYKC5FSXRRGHJSJtrFAbMXBhSgTf wJnzk7WhrHjj/1aRiTasCBv2QIu4+IqWDaQg8wkhHD/viMmaAYbNKmdXOL3z+hZnNZm9 IwBq+1uCXjye7cUxq2D/WXZ7SQi6KhaB3D6gYoChFIp8HPOMeo0qs1NUiDl/QsRRplq/ m1JkWbyBf/GSAQfIbyu95TNvjJoTi/Vp43ECmLUwhlzwD7v2yb11gI0jrNzbGJ/haAnQ XFQAdzeOcuyycEbZkLB9ZUZ1SzhXhnNq/wC1hrRhQV41YupR7L911x07ULgF8zClpCyZ JZLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deutnet.info header.s=default header.b=kCfhfkfo; 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=REJECT sp=REJECT dis=NONE) header.from=deutnet.info Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i10si10580451ede.101.2019.10.01.12.09.23; Tue, 01 Oct 2019 12:09:47 -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=@deutnet.info header.s=default header.b=kCfhfkfo; 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=REJECT sp=REJECT dis=NONE) header.from=deutnet.info Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726676AbfJATIp (ORCPT + 99 others); Tue, 1 Oct 2019 15:08:45 -0400 Received: from srv1.deutnet.info ([116.203.153.70]:55166 "EHLO srv1.deutnet.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726492AbfJATIp (ORCPT ); Tue, 1 Oct 2019 15:08:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=deutnet.info; s=default; h=In-Reply-To:Message-ID:Subject:Cc:To:From:Date; bh=b+LjemFDxUNMrB9rHbfUreCeR0HbcM3LO0FBgY4gp/M=; b=kCfhfkfoUGyUmXNArXhhGdgqu jgCWIlDVAmNOr0TQM95AdmK/uG6obHTgEJu6ncUDAV50ggdB9K3QAmd4Wa7gFC0sqgbbA0DrMNnB9 B3PcD4daGAtVLmZvkB53RQKY1tvkS4eOlMiN+t5sxRIWPk6QJvUasNn6GycJB/Jxit8P3xvToLjaH b/2JlI1oGjfudConHNml5ddVcCt8AFsUX0D3mucdftwx4uiB5+WuIs2ap7LxGDGPgvTUqGy/+s49w yT2SlrYC02suArl6mvfAYBwapUSbdoxrnQD+YteRpC2cM21r1kLnYEDMsHa5vCcoCKkt3ff0CXEal q5mlvCtPA==; Received: from [2001:bc8:3dc9::1] (helo=localhost) by srv1.deutnet.info with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iFNVo-0000oT-VX; Tue, 01 Oct 2019 21:08:40 +0200 Received: from agriveaux by localhost with local (Exim 4.92) (envelope-from ) id 1iFNVo-00BgM1-Jk; Tue, 01 Oct 2019 21:08:40 +0200 Date: Tue, 1 Oct 2019 21:08:40 +0200 From: Alexandre GRIVEAUX To: robh+dt@kernel.org, mark.rutland@arm.com, ralf@linux-mips.org, paul.burton@mips.com, jhogan@kernel.org, agriveaux@deutnet.info Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 1/5] MIPS: JZ4780: DTS: Add I2C nodes Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the devicetree nodes for the I2C core of the JZ4780 SoC, disabled by default. Signed-off-by: Alexandre GRIVEAUX --- arch/mips/boot/dts/ingenic/jz4780.dtsi | 86 ++++++++++++++++++++++++++ 1 file changed, 86 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/jz4780.dtsi b/arch/mips/boot/dts/ingenic/jz4780.dtsi index c54bd7cfec55..f928329b034b 100644 --- a/arch/mips/boot/dts/ingenic/jz4780.dtsi +++ b/arch/mips/boot/dts/ingenic/jz4780.dtsi @@ -262,6 +262,92 @@ status = "disabled"; }; + i2c0: i2c@10050000 { + compatible = "ingenic,jz4780-i2c"; + #address-cells = <1>; + #size-cells = <0>; + + reg = <0x10050000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <60>; + + clocks = <&cgu JZ4780_CLK_SMB0>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c0_data>; + + status = "disabled"; + }; + + i2c1: i2c@10051000 { + compatible = "ingenic,jz4780-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10051000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <59>; + + clocks = <&cgu JZ4780_CLK_SMB1>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c1_data>; + + status = "disabled"; + }; + + i2c2: i2c@10052000 { + compatible = "ingenic,jz4780-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10052000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <58>; + + clocks = <&cgu JZ4780_CLK_SMB2>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c2_data>; + + status = "disabled"; + }; + + i2c3: i2c@10053000 { + compatible = "ingenic,jz4780-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10053000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <57>; + + clocks = <&cgu JZ4780_CLK_SMB3>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c3_data>; + + status = "disabled"; + }; + + i2c4: i2c@10054000 { + compatible = "ingenic,jz4780-i2c"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x10054000 0x1000>; + + interrupt-parent = <&intc>; + interrupts = <56>; + + clocks = <&cgu JZ4780_CLK_SMB4>; + clock-frequency = <100000>; + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c4_data>; + + status = "disabled"; + }; + watchdog: watchdog@10002000 { compatible = "ingenic,jz4780-watchdog"; reg = <0x10002000 0x10>; -- 2.20.1