Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1741249 > unrolled thread
| Started by | Joel Stanley <joel@jms.id.au> |
|---|---|
| First post | 2017-09-28 10:00 +0200 |
| Last post | 2017-09-28 20:40 +0200 |
| Articles | 6 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH 0/8] ARM: dts: aspeed: Device tree updates Joel Stanley <joel@jms.id.au> - 2017-09-28 10:00 +0200
[PATCH 2/8] ARM: dts: aspeed: Reorder ADC node Joel Stanley <joel@jms.id.au> - 2017-09-28 10:00 +0200
[PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices Joel Stanley <joel@jms.id.au> - 2017-09-28 10:00 +0200
Re: [PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices Brendan Higgins <brendanhiggins@google.com> - 2017-09-28 20:40 +0200
[PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices Joel Stanley <joel@jms.id.au> - 2017-09-28 10:00 +0200
Re: [PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices Brendan Higgins <brendanhiggins@google.com> - 2017-09-28 20:40 +0200
| From | Joel Stanley <joel@jms.id.au> |
|---|---|
| Date | 2017-09-28 10:00 +0200 |
| Subject | [PATCH 0/8] ARM: dts: aspeed: Device tree updates |
| Message-ID | <uuBTI-6bp-5@gated-at.bofh.it> |
This series adds support for the i2c buses and vuart in the ASPEED device trees, as well as making a few cleanups. I will merge these into my Aspeed devicetree tree once they have some acks. I have a second series ready to go as soon as our clk driver is merged. Cheers, Joel Andrew Jeffery (1): ARM: dts: aspeed: Move pinctrl subnodes to improve readability Joel Stanley (7): ARM: dts: aspeed: Reorder ADC node ARM: dts: aspeed: Add I2C buses ARM: dts: aspeed-romulus: Add I2C devices ARM: dts: aspeed-palmetto: Add I2C devices ARM: dts: aspeed-ast2500: Add I2C devices ARM: dts: aspeed: Add aliases for UARTs ARM: dts: aspeed: Clean up UART nodes arch/arm/boot/dts/aspeed-ast2500-evb.dts | 19 + arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 52 +- arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 54 + arch/arm/boot/dts/aspeed-g4.dtsi | 1773 +++++++++++++----------- arch/arm/boot/dts/aspeed-g5.dtsi | 1810 ++++++++++++++----------- 5 files changed, 2176 insertions(+), 1532 deletions(-) -- 2.14.1
[toc] | [next] | [standalone]
| From | Joel Stanley <joel@jms.id.au> |
|---|---|
| Date | 2017-09-28 10:00 +0200 |
| Subject | [PATCH 2/8] ARM: dts: aspeed: Reorder ADC node |
| Message-ID | <uuBTL-6bp-35@gated-at.bofh.it> |
| In reply to | #1741249 |
We try to keep the nodes in address order. The ADC node was out of
place.
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
arch/arm/boot/dts/aspeed-g4.dtsi | 16 ++++++++--------
arch/arm/boot/dts/aspeed-g5.dtsi | 16 ++++++++--------
2 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi
index 1edd0cee6221..a4579498fc25 100644
--- a/arch/arm/boot/dts/aspeed-g4.dtsi
+++ b/arch/arm/boot/dts/aspeed-g4.dtsi
@@ -129,6 +129,14 @@
};
};
+ adc: adc@1e6e9000 {
+ compatible = "aspeed,ast2400-adc";
+ reg = <0x1e6e9000 0xb0>;
+ clocks = <&syscon ASPEED_CLK_APB>;
+ #io-channel-cells = <1>;
+ status = "disabled";
+ };
+
sram@1e720000 {
compatible = "mmio-sram";
reg = <0x1e720000 0x8000>; // 32K
@@ -227,14 +235,6 @@
no-loopback-test;
status = "disabled";
};
-
- adc: adc@1e6e9000 {
- compatible = "aspeed,ast2400-adc";
- reg = <0x1e6e9000 0xb0>;
- clocks = <&clk_apb>;
- #io-channel-cells = <1>;
- status = "disabled";
- };
};
};
};
diff --git a/arch/arm/boot/dts/aspeed-g5.dtsi b/arch/arm/boot/dts/aspeed-g5.dtsi
index f56dd67efa50..f6430b313f90 100644
--- a/arch/arm/boot/dts/aspeed-g5.dtsi
+++ b/arch/arm/boot/dts/aspeed-g5.dtsi
@@ -173,6 +173,14 @@
reg-io-width = <4>;
};
+ adc: adc@1e6e9000 {
+ compatible = "aspeed,ast2500-adc";
+ reg = <0x1e6e9000 0xb0>;
+ clocks = <&syscon ASPEED_CLK_APB>;
+ #io-channel-cells = <1>;
+ status = "disabled";
+ };
+
sram@1e720000 {
compatible = "mmio-sram";
reg = <0x1e720000 0x9000>; // 36K
@@ -307,14 +315,6 @@
no-loopback-test;
status = "disabled";
};
-
- adc: adc@1e6e9000 {
- compatible = "aspeed,ast2500-adc";
- reg = <0x1e6e9000 0xb0>;
- clocks = <&clk_apb>;
- #io-channel-cells = <1>;
- status = "disabled";
- };
};
};
};
--
2.14.1
[toc] | [prev] | [next] | [standalone]
| From | Joel Stanley <joel@jms.id.au> |
|---|---|
| Date | 2017-09-28 10:00 +0200 |
| Subject | [PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices |
| Message-ID | <uuBTM-6bp-39@gated-at.bofh.it> |
| In reply to | #1741249 |
Enable the buses that are in use and the devices that are attached.
Currently that includes the battery backed RTC, temperature measurement
and EEPROM.
Some of these buses are for hotplugged cards, such as PCIe cards.
Others do not yet have upstream drivers, so there are no devices
attached.
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts | 48 +++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
index 112551766275..e387c80b7f4f 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-palmetto.dts
@@ -61,3 +61,51 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii1_default>;
};
+
+&i2c0 {
+ status = "okay";
+
+ eeprom@50 {
+ compatible = "atmel,24c256";
+ reg = <0x50>;
+ pagesize = <64>;
+ };
+
+ rtc@68 {
+ compatible = "dallas,ds3231";
+ reg = <0x68>;
+ };
+};
+
+&i2c1 {
+ status = "okay";
+};
+
+&i2c2 {
+ status = "okay";
+
+ tmp423@4c {
+ compatible = "ti,tmp423";
+ reg = <0x4c>;
+ };
+};
+
+&i2c3 {
+ status = "okay";
+};
+
+&i2c4 {
+ status = "okay";
+};
+
+&i2c5 {
+ status = "okay";
+};
+
+&i2c6 {
+ status = "okay";
+};
+
+&i2c7 {
+ status = "okay";
+};
--
2.14.1
[toc] | [prev] | [next] | [standalone]
| From | Brendan Higgins <brendanhiggins@google.com> |
|---|---|
| Date | 2017-09-28 20:40 +0200 |
| Subject | Re: [PATCH 5/8] ARM: dts: aspeed-palmetto: Add I2C devices |
| Message-ID | <uuLT4-42q-13@gated-at.bofh.it> |
| In reply to | #1741251 |
On Thu, Sep 28, 2017 at 12:51 AM, Joel Stanley <joel@jms.id.au> wrote: > Enable the buses that are in use and the devices that are attached. > Currently that includes the battery backed RTC, temperature measurement > and EEPROM. > > Some of these buses are for hotplugged cards, such as PCIe cards. > Others do not yet have upstream drivers, so there are no devices > attached. > > Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
[toc] | [prev] | [next] | [standalone]
| From | Joel Stanley <joel@jms.id.au> |
|---|---|
| Date | 2017-09-28 10:00 +0200 |
| Subject | [PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices |
| Message-ID | <uuBTM-6bp-43@gated-at.bofh.it> |
| In reply to | #1741249 |
Enable the buses that are in use and the devices that are attached.
Currently that is just the battery backed RTC.
Some of these buses are for hotplugged cards, such as PCIe cards. Others
do not yet have upstream drivers, so there are no devices attached.
Signed-off-by: Joel Stanley <joel@jms.id.au>
---
arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts | 54 ++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
index 1190fec1b5d0..f79c1d21c47f 100644
--- a/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-romulus.dts
@@ -79,3 +79,57 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_rmii1_default>;
};
+
+&i2c2 {
+ status = "okay";
+};
+
+&i2c3 {
+ status = "okay";
+};
+
+&i2c4 {
+ status = "okay";
+};
+
+&i2c5 {
+ status = "okay";
+};
+
+&i2c6 {
+ /* PCIe slot 1 (x8) */
+ status = "enabled";
+};
+
+&i2c7 {
+ /* PCIe slot 2 (x16) */
+ status = "enabled";
+};
+
+&i2c8 {
+ /* PCIe slot 3 (x16) */
+ status = "enabled";
+};
+
+&i2c9 {
+ /* PCIe slot 4 (x16) */
+ status = "enabled";
+};
+
+&i2c10 {
+ /* PCIe slot 5 (x8) */
+ status = "enabled";
+};
+
+&i2c11 {
+ status = "okay";
+
+ rtc@32 {
+ compatible = "epson,rx8900";
+ reg = <0x32>;
+ };
+};
+
+&i2c12 {
+ status = "okay";
+};
--
2.14.1
[toc] | [prev] | [next] | [standalone]
| From | Brendan Higgins <brendanhiggins@google.com> |
|---|---|
| Date | 2017-09-28 20:40 +0200 |
| Subject | Re: [PATCH 4/8] ARM: dts: aspeed-romulus: Add I2C devices |
| Message-ID | <uuLT4-42q-23@gated-at.bofh.it> |
| In reply to | #1741252 |
On Thu, Sep 28, 2017 at 12:51 AM, Joel Stanley <joel@jms.id.au> wrote: > Enable the buses that are in use and the devices that are attached. > Currently that is just the battery backed RTC. > > Some of these buses are for hotplugged cards, such as PCIe cards. Others > do not yet have upstream drivers, so there are no devices attached. > > Signed-off-by: Joel Stanley <joel@jms.id.au> Reviewed-by: Brendan Higgins <brendanhiggins@google.com>
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web