[PATCH 3/6] arm/dts: Add Firestone BMC board
Cyril Bur
cyrilbur at gmail.com
Thu May 5 11:27:13 AEST 2016
From: Joel Stanley <joel at jms.id.au>
The Firestone is an IBM made OpenPower machine that uses the ast2400
BMC.
Signed-off-by: Joel Stanley <joel at jms.id.au>
Signed-off-by: Cyril Bur <cyrilbur at gmail.com>
---
arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts | 133 +++++++++++++++++++++++++
arch/arm/boot/dts/ast2400.dtsi | 4 +
2 files changed, 137 insertions(+)
create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
new file mode 100644
index 0000000..2b988e7
--- /dev/null
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-firestone.dts
@@ -0,0 +1,133 @@
+/dts-v1/;
+
+#include "ast2400.dtsi"
+
+/ {
+ model = "Firestone BMC";
+ compatible = "ibm,firestone-bmc", "aspeed,ast2400";
+
+ aliases {
+ serial0 = &uart5;
+ };
+
+ chosen {
+ stdout-path = &uart5;
+ bootargs = "console=ttyS4,38400";
+ };
+
+ memory {
+ reg = < 0x40000000 0x20000000 >;
+ };
+
+ ahb {
+ fmc at 1e620000 {
+ reg = < 0x1e620000 0x94
+ 0x20000000 0x02000000 >;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "aspeed,fmc";
+ flash at 0 {
+ reg = < 0 >;
+ compatible = "jedec,spi-nor" ;
+ /*
+ * Possibly required props:
+ * spi-max-frequency = <>
+ * spi-tx-bus-width = <>
+ * spi-rx-bus-width = <>
+ * m25p,fast-read
+ * spi-cpol if inverse clock polarity (CPOL)
+ * spi-cpha if shifted clock phase (CPHA)
+ */
+#include "aspeed-bmc-opp-flash-layout.dtsi"
+ };
+ };
+ spi at 1e630000 {
+ reg = < 0x1e630000 0x18
+ 0x30000000 0x02000000 >;
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "aspeed,smc";
+ flash {
+ reg = < 0 >;
+ compatible = "jedec,spi-nor" ;
+ label = "pnor";
+ /* spi-max-frequency = <>; */
+ /* m25p,fast-read; */
+ };
+ };
+ apb {
+ i2c: i2c at 1e78a040 {
+ i2c0: i2c-bus at 40 {
+ // grounded
+ };
+ i2c1: i2c-bus at 80 {
+ // grounded
+ };
+ i2c2: i2c-bus at c0 {
+ // i2c mux
+ };
+ i2c3: i2c-bus at 100 {
+ // i2c hub PCA9516A
+ };
+ i2c4: i2c-bus at 140 {
+ // turismo
+ };
+ i2c5: i2c-bus at 180 {
+ tmp423 at 98 {
+ compatible = "ti,tmp423";
+ reg = <0x98>;
+ };
+ };
+ i2c6: i2c-bus at 1c0 {
+ // nc
+ };
+ i2c7: i2c-bus at 300 {
+ // nc
+ };
+ i2c8: i2c-bus at 340 {
+ // FSI
+ status = "disabled";
+ };
+ i2c9: i2c-bus at 380 {
+ // 4 way mux
+ };
+ i2c10: i2c-bus at 3c0 {
+ // 4 way mux
+ };
+ i2c11: i2c-bus at 400 {
+ status = "okay";
+ leds at c0 {
+ compatible = "pca,pca9552led";
+ reg = <0xc0>;
+ // led9 - led_fault_n
+ // led10 - pwr_led_n
+ // led11 - rear_id_led_n
+ };
+ rtc at d0 {
+ compatible = "dallas,ds3231";
+ reg = <0xd0>;
+ };
+ si5338a at e2 {
+ // SiLabs clock generator
+ reg =<0xe2>;
+ };
+
+ idt at d6 {
+ // IDT 9DBV0641 clock buffer
+ reg = <0xd6>;
+ };
+
+ tpm at a3 {
+ reg = <0xa3>;
+ };
+ };
+ i2c12: i2c-bus at 440 {
+ // i2c hub PCA9516A
+ };
+ i2c13: i2c-bus at 480 {
+ // i2c hub PCA9516A
+ };
+ };
+ };
+ };
+};
diff --git a/arch/arm/boot/dts/ast2400.dtsi b/arch/arm/boot/dts/ast2400.dtsi
index e1100f0..62fab71 100644
--- a/arch/arm/boot/dts/ast2400.dtsi
+++ b/arch/arm/boot/dts/ast2400.dtsi
@@ -213,6 +213,8 @@
};
i2c10: i2c-bus at 3c0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x380 0x40>;
compatible = "aspeed,ast2400-i2c-bus";
bus = <10>;
@@ -222,6 +224,8 @@
};
i2c11: i2c-bus at 400 {
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x400 0x40>;
compatible = "aspeed,ast2400-i2c-bus";
bus = <11>;
--
2.8.2
More information about the openbmc
mailing list