Patchwork [U-Boot,05/12] x86: Add a minimal device tree for alex x86

login
register
mail settings
Submitter Simon Glass
Date Oct. 20, 2012, 10:33 p.m.
Message ID <1350772396-28946-6-git-send-email-sjg@chromium.org>
Download mbox | patch
Permalink /patch/192955/
State Accepted, archived
Delegated to: Simon Glass
Headers show

Comments

Simon Glass - Oct. 20, 2012, 10:33 p.m.
From: Gabe Black <gabeblack@chromium.org>

The device tree now includes the necessary console configuration
information.

Signed-off-by: Gabe Black <gabeblack@chromium.org>
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>

Signed-off-by: Simon Glass <sjg@chromium.org>
---
 board/chromebook-x86/dts/x86-alex.dts |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)
 create mode 100644 board/chromebook-x86/dts/x86-alex.dts

Patch

diff --git a/board/chromebook-x86/dts/x86-alex.dts b/board/chromebook-x86/dts/x86-alex.dts
new file mode 100644
index 0000000..bd90d18
--- /dev/null
+++ b/board/chromebook-x86/dts/x86-alex.dts
@@ -0,0 +1,30 @@ 
+/dts-v1/;
+
+/ {
+        #address-cells = <1>;
+        #size-cells = <1>;
+	model = "Google Alex";
+	compatible = "google,alex", "intel,atom-pineview";
+
+	config {
+	       silent_console = <0>;
+	};
+
+	aliases {
+		console = "/serial@e0401000";
+	};
+
+	serial@e0401000 {
+		compatible = "ns16550";
+		reg = <0xe0401000 0x40>;
+		id = <1>;
+		reg-shift = <1>;
+		baudrate = <115200>;
+		clock-frequency = <4000000>;
+		multiplier = <1>;
+		status = "ok";
+	};
+
+        chosen { };
+        memory { device_type = "memory"; reg = <0 0>; };
+};