summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts
diff options
context:
space:
mode:
authorTao Ren <rentao.bupt@gmail.com>2020-11-11 15:23:30 -0800
committerJoel Stanley <joel@jms.id.au>2020-11-12 16:19:04 +1030
commit71b802d2d518d2bdbdc0fa5b661fc1d37b9b50d3 (patch)
treec32a9dbff201b72af8c46fcbcbf02cd209833539 /arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts
parent41376fb94c6a825674de3de27c6ee3af17065834 (diff)
downloadlwn-71b802d2d518d2bdbdc0fa5b661fc1d37b9b50d3.tar.gz
lwn-71b802d2d518d2bdbdc0fa5b661fc1d37b9b50d3.zip
ARM: dts: aspeed: Add Facebook Galaxy100 (AST2400) BMC
Add initial version of device tree for Facebook Galaxy100 (AST2400) BMC. Signed-off-by: Tao Ren <rentao.bupt@gmail.com> Reviewed-by: Patrick Williams <patrick@stwcx.xyz> Reviewed-by: Joel Stanley <joel@jms.id.au> Link: https://lore.kernel.org/r/20201111232330.30843-5-rentao.bupt@gmail.com Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts')
-rw-r--r--arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts57
1 files changed, 57 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts b/arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts
new file mode 100644
index 000000000000..dcf213472749
--- /dev/null
+++ b/arch/arm/boot/dts/aspeed-bmc-facebook-galaxy100.dts
@@ -0,0 +1,57 @@
+// SPDX-License-Identifier: GPL-2.0+
+// Copyright (c) 2020 Facebook Inc.
+/dts-v1/;
+
+#include "ast2400-facebook-netbmc-common.dtsi"
+
+/ {
+ model = "Facebook Galaxy 100 BMC";
+ compatible = "facebook,galaxy100-bmc", "aspeed,ast2400";
+
+ chosen {
+ stdout-path = &uart5;
+ bootargs = "console=ttyS0,9600n8 root=/dev/ram rw";
+ };
+
+ ast-adc-hwmon {
+ compatible = "iio-hwmon";
+ io-channels = <&adc 3>, <&adc 4>, <&adc 8>, <&adc 9>;
+ };
+};
+
+&wdt2 {
+ status = "okay";
+ aspeed,reset-type = "system";
+};
+
+&fmc {
+ flash@1 {
+ status = "okay";
+ m25p,fast-read;
+ label = "spi0.1";
+
+ partitions {
+ compatible = "fixed-partitions";
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ flash1@0 {
+ reg = <0x0 0x2000000>;
+ label = "flash1";
+ };
+ };
+ };
+};
+
+
+&i2c9 {
+ status = "okay";
+};
+
+&vhub {
+ status = "okay";
+};
+
+&adc {
+ status = "okay";
+};