diff mbox

[linux] dts: Minimal device tree for Quanta Q71L BMC

Message ID 20170131183828.30671-1-raltherr@google.com
State Superseded, archived
Headers show

Commit Message

Unknown sender due to SPF Jan. 31, 2017, 6:38 p.m. UTC
Supports:
  - BMC console UART
  - BMC boot flash
  - host boot flash
  - host virtual UART (host console)

Signed-off-by: Rick Altherr <raltherr@google.com>
---
 arch/arm/boot/dts/aspeed-bmc-opp-quanta-q71l.dts | 86 ++++++++++++++++++++++++
 1 file changed, 86 insertions(+)
 create mode 100644 arch/arm/boot/dts/aspeed-bmc-opp-quanta-q71l.dts

Comments

Benjamin Herrenschmidt Jan. 31, 2017, 9:49 p.m. UTC | #1
On Tue, 2017-01-31 at 10:38 -0800, Rick Altherr via openbmc wrote:
> +       memory {
> +               reg = <0x40000000 0x8000000>;
> +       };

128M of RAM up here...

> +       reserved-memory {
> +               #address-cells = <1>;
> +               #size-cells = <1>;
> +               ranges;
> +
> +               vga_memory: framebuffer@5f000000 {
> +                       no-map;
> +                       reg = <0x5f000000 0x01000000>; /* 16MB */
> +               };

And framebuffer at 496M... something's not right.

> +       };
> +
diff mbox

Patch

diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-quanta-q71l.dts b/arch/arm/boot/dts/aspeed-bmc-opp-quanta-q71l.dts
new file mode 100644
index 000000000000..cd92e6f7c365
--- /dev/null
+++ b/arch/arm/boot/dts/aspeed-bmc-opp-quanta-q71l.dts
@@ -0,0 +1,86 @@ 
+/dts-v1/;
+
+#include "aspeed-g4.dtsi"
+#include <dt-bindings/gpio/aspeed-gpio.h>
+
+/ {
+	model = "Quanta Q71L BMC";
+	compatible = "quanta,q71l-bmc", "aspeed,ast2400";
+
+	aliases {
+		serial4 = &uart5;
+	};
+
+	chosen {
+		stdout-path = &uart5;
+		bootargs = "console=ttyS4,115200 earlyprintk";
+	};
+
+	memory {
+		reg = <0x40000000 0x8000000>;
+	};
+
+	reserved-memory {
+		#address-cells = <1>;
+		#size-cells = <1>;
+		ranges;
+
+		vga_memory: framebuffer@5f000000 {
+			no-map;
+			reg = <0x5f000000 0x01000000>; /* 16MB */
+		};
+	};
+
+	ahb {
+		bmc_pnor: fmc@1e620000 {
+			reg = < 0x1e620000 0x94
+				0x20000000 0x02000000 >;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "aspeed,ast2400-fmc";
+			aspeed,fmc-has-dma;
+			interrupts = <19>;
+			flash@0 {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor" ;
+#include "aspeed-bmc-opp-flash-layout.dtsi"
+			};
+		};
+
+		host_pnor: spi@1e630000 {
+			reg = < 0x1e630000 0x18
+				0x30000000 0x01000000 >;
+			#address-cells = <1>;
+			#size-cells = <0>;
+			compatible = "aspeed,ast2400-smc";
+			flash {
+				reg = < 0 >;
+				compatible = "jedec,spi-nor" ;
+				label = "pnor";
+			};
+		};
+	};
+};
+
+&pinctrl {
+	pinctrl-names = "default";
+	pinctrl-0 = <&pinctrl_flbusy_default &pinctrl_flwp_default
+
+			&pinctrl_vgahs_default &pinctrl_vgavs_default
+			&pinctrl_ddcclk_default &pinctrl_ddcdat_default>;
+};
+
+&mac0 {
+	status = "okay";
+
+	use-ncsi;
+	no-hw-checksum;
+};
+
+&uart5 {
+	status = "okay";
+};
+
+&vuart {
+	status = "okay";
+};