From: Chris Packham <chris.packham@alliedtelesis.co.nz>
To: andi.shyti@kernel.org, robh@kernel.org, krzk+dt@kernel.org,
conor+dt@kernel.org, tsbogend@alpha.franken.de
Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-mips@vger.kernel.org,
Chris Packham <chris.packham@alliedtelesis.co.nz>
Subject: [PATCH v3 3/3] mips: dts: realtek: Add I2C controllers
Date: Tue, 24 Sep 2024 11:02:30 +1200 [thread overview]
Message-ID: <20240923230230.3001657-4-chris.packham@alliedtelesis.co.nz> (raw)
In-Reply-To: <20240923230230.3001657-1-chris.packham@alliedtelesis.co.nz>
Add the I2C controllers that are part of the RTL9300 SoC.
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
---
Notes:
Changes in v2:
- Use reg property
arch/mips/boot/dts/realtek/rtl930x.dtsi | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/arch/mips/boot/dts/realtek/rtl930x.dtsi b/arch/mips/boot/dts/realtek/rtl930x.dtsi
index cf1b38b6c353..cc43025cd46c 100644
--- a/arch/mips/boot/dts/realtek/rtl930x.dtsi
+++ b/arch/mips/boot/dts/realtek/rtl930x.dtsi
@@ -33,12 +33,30 @@ lx_clk: clock-175mhz {
switch0: switch@1b000000 {
compatible = "realtek,rtl9302c-switch", "syscon", "simple-mfd";
reg = <0x1b000000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
reboot {
compatible = "syscon-reboot";
offset = <0x0c>;
value = <0x01>;
};
+
+ i2c0: i2c@36c {
+ compatible = "realtek,rtl9300-i2c";
+ reg = <0x36c 0x14>;
+ status = "disabled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
+
+ i2c1: i2c@388 {
+ compatible = "realtek,rtl9300-i2c";
+ reg = <0x388 0x14>;
+ status = "disabled";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ };
};
};
--
2.46.1
next prev parent reply other threads:[~2024-09-23 23:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-23 23:02 [PATCH v3 0/3] i2c: RTL9300 support Chris Packham
2024-09-23 23:02 ` [PATCH v3 1/3] dt-bindings: i2c: Add RTL9300 I2C controller Chris Packham
2024-09-24 8:46 ` Krzysztof Kozlowski
2024-09-24 8:55 ` Krzysztof Kozlowski
2024-09-24 21:11 ` Chris Packham
2024-09-25 7:19 ` Krzysztof Kozlowski
2024-09-23 23:02 ` [PATCH v3 2/3] i2c: Add driver for the " Chris Packham
2024-09-25 9:35 ` Andi Shyti
2024-09-23 23:02 ` Chris Packham [this message]
2024-09-24 8:50 ` [PATCH v3 3/3] mips: dts: realtek: Add I2C controllers Krzysztof Kozlowski
2024-09-24 21:23 ` Chris Packham
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240923230230.3001657-4-chris.packham@alliedtelesis.co.nz \
--to=chris.packham@alliedtelesis.co.nz \
--cc=andi.shyti@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=robh@kernel.org \
--cc=tsbogend@alpha.franken.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).