Received: by 2002:a25:824b:0:0:0:0:0 with SMTP id d11csp781017ybn; Tue, 24 Sep 2019 09:23:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzcrSo9v/8xXu9S2jSc5Wdf6Iks5+61u1zDNzgklSAzwZ9n1jo45FN5h7WpVWPjnYDzCW7 X-Received: by 2002:a5d:61c4:: with SMTP id q4mr3065883wrv.327.1569342192845; Tue, 24 Sep 2019 09:23:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569342192; cv=none; d=google.com; s=arc-20160816; b=ZKd/zYBcftHj5rT0vjHulUpo8Q0cXlBv4TCX1mJzm3H+Aaq6yWdosNmnSqxgsLQGNy W1nU3WXmngerGrCm1iKSGwLxCKN7eYgqz/yoxTNSFcB5xnC3olR8OnIk3Cmw1wz/fK3n xAawx24itwZTCT+Q9D53v8A14IdhE9cuKfcEKQD7AcqsqIoqGYUWtSr0Z9BQPgt4vLa7 WUsR2f3PP1mCDzjCE5lAkDyoqm2B+BfcjfxxrjjeLbIHMRA8DVGMmoXhtZxwHKnryHtw 5UDsdI5giPxgeHybIqGo8t7nVDRYF8J8aqEmrUBI3tlAps4oSalbmL55hcp9eUoco0m6 AVLw== 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=LoUpqJudWyj9nM8kZMC0gqj41Fj/RyQbOaPaMoFSwFk=; b=MSwXfQM0racSVrVDl/nmsmEflC8IvKVB/j8PywCPUkJkh8HZvzAKdrPI+UpXoO3t+Z zeZShONZwUMEi4oVFGFgKSUvU6NDx2ZCa+i+0eF+/RFYeGTq9C/wZZo3YTwiPEXk1Dz8 jmPeatB5Dca6Y3JQvrOss8LNkiEKW5/0s4pZwZtIrNSHRgccvbj/FmrRzo8AfAHTxuPd fkBhGrmWDUmWqt2sR6e2tDVYBY4JXveoSx78BLEsT+TgxShpwiR1u5rygDUOqhXogsQN 0joeGtNM25XN0geF5vLmW1FcrhbH/vfjTEc0GOFQiA0YA2cXHmplHHcL4gAFGaR0bs4p Gzjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@deutnet.info header.s=default header.b=WkO0ZIYJ; 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 y26si1420896edv.134.2019.09.24.09.22.49; Tue, 24 Sep 2019 09:23:12 -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=WkO0ZIYJ; 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 S1731085AbfIVUMZ (ORCPT + 99 others); Sun, 22 Sep 2019 16:12:25 -0400 Received: from srv1.deutnet.info ([116.203.153.70]:44662 "EHLO srv1.deutnet.info" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729892AbfIVUMY (ORCPT ); Sun, 22 Sep 2019 16:12:24 -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=LoUpqJudWyj9nM8kZMC0gqj41Fj/RyQbOaPaMoFSwFk=; b=WkO0ZIYJOBX/zIt0CfmL6/rvS ERz51EzgWD6gqJqILv8+Kdsg/upHFLMEhlYwgjrOQ2XzrQAUf1PkTbbCBPNByz3nZpqHBRWkm5yKn pU/+lGO880nsoXNympALDGXqIeRO0MXvNCK7Gv+Uv3wwB4t9jPlFD/n9zCfjktzGEzNv1xW31Nu80 Lnr3Ujcqje0dN4sGpJf/hfIfRNBKa/KmjOrvt44MWkKXk6gx4ammUdIzJ/HGKOj25CYjeWZieOJcO MbipTeIHRRgXutUcGVYRoLPIJenmJeIxTJPvvurdFXTYy1wYA4GDuPUF5zq4bdgiwsuV+p7oaGQ3C OkbEouICw==; 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 1iC8DU-0007sx-6S; Sun, 22 Sep 2019 22:12:20 +0200 Received: from agriveaux by localhost with local (Exim 4.92) (envelope-from ) id 1iC8DT-007ve7-RP; Sun, 22 Sep 2019 22:12:19 +0200 Date: Sun, 22 Sep 2019 22:12:19 +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 1/4] MIPS: CI20: DTS: Add I2C nodes Message-ID: <3f74e79546aff3e2f77e94361685d53f4e44fa7b.1569181001.git.agriveaux@deutnet.info> 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 Adding missing I2C nodes and some peripheral: - PMU - RTC Signed-off-by: Alexandre GRIVEAUX --- arch/mips/boot/dts/ingenic/ci20.dts | 147 ++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index 2e9952311ecd..4a77fa30a9cd 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -87,6 +87,123 @@ pinctrl-0 = <&pins_uart4>; }; +&i2c0 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c0>; + + clock-frequency = <400000>; + + act8600: act8600@5a { + compatible = "active-semi,act8600"; + reg = <0x5a>; + status = "okay"; + + regulators { + vddcore: SUDCDC1 { + regulator-name = "VDDCORE"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-always-on; + }; + vddmem: SUDCDC2 { + regulator-name = "VDDMEM"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-always-on; + }; + vcc_33: SUDCDC3 { + regulator-name = "VCC33"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + vcc_50: SUDCDC4 { + regulator-name = "VCC50"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + regulator-always-on; + }; + vcc_25: LDO_REG5 { + regulator-name = "VCC25"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; + wifi_io: LDO_REG6 { + regulator-name = "WIFIIO"; + regulator-min-microvolt = <2500000>; + regulator-max-microvolt = <2500000>; + regulator-always-on; + }; + vcc_28: LDO_REG7 { + regulator-name = "VCC28"; + regulator-min-microvolt = <2800000>; + regulator-max-microvolt = <2800000>; + regulator-always-on; + }; + vcc_15: LDO_REG8 { + regulator-name = "VCC15"; + regulator-min-microvolt = <1500000>; + regulator-max-microvolt = <1500000>; + regulator-always-on; + }; + vcc_18: LDO_REG9 { + regulator-name = "VCC18"; + regulator-min-microvolt = <1800000>; + regulator-max-microvolt = <1800000>; + regulator-always-on; + }; + vcc_11: LDO_REG10 { + regulator-name = "VCC11"; + regulator-min-microvolt = <1100000>; + regulator-max-microvolt = <1100000>; + regulator-always-on; + }; + }; + }; +}; + +&i2c1 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c1>; + +}; + +&i2c2 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c2>; + +}; + +&i2c3 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c3>; + +}; + +&i2c4 { + status = "okay"; + + pinctrl-names = "default"; + pinctrl-0 = <&pins_i2c4>; + + clock-frequency = <400000>; + + rtc@51 { + compatible = "nxp,pcf8563"; + reg = <0x51>; + interrupts = <110>; + }; +}; + &nemc { status = "okay"; @@ -209,6 +326,36 @@ bias-disable; }; + pins_i2c0: i2c0 { + function = "i2c0"; + groups = "i2c0-data"; + bias-disable; + }; + + pins_i2c1: i2c1 { + function = "i2c1"; + groups = "i2c1-data"; + bias-disable; + }; + + pins_i2c2: i2c2 { + function = "i2c2"; + groups = "i2c2-data"; + bias-disable; + }; + + pins_i2c3: i2c3 { + function = "i2c3"; + groups = "i2c3-data"; + bias-disable; + }; + + pins_i2c4: i2c4 { + function = "i2c4"; + groups = "i2c4-data-e"; + bias-disable; + }; + pins_nemc: nemc { function = "nemc"; groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe"; -- 2.20.1