mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-22 15:33:55 +07:00
7b790d3b29
Every device tested so far got UART0 (at 0x18000300) working as serial console. It's most likely part of reference design and all vendors use it that way. It seems to be easier to enable it by default and just disable it if we ever see a device with different hardware design. Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Jon Mason <jon.mason@broadcom.com> Acked-by: Hauke Mehrtens <hauke@hauke-m.de> Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
61 lines
973 B
Plaintext
61 lines
973 B
Plaintext
/*
|
|
* Copyright 2016 Luxul Inc.
|
|
*
|
|
* Licensed under the ISC license.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "bcm4708.dtsi"
|
|
|
|
/ {
|
|
compatible = "luxul,xap-1510v1", "brcm,bcm4708";
|
|
model = "Luxul XAP-1510 V1";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200 earlycon";
|
|
};
|
|
|
|
memory {
|
|
reg = <0x00000000 0x08000000>;
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
5ghz {
|
|
label = "bcm53xx:blue:5ghz";
|
|
gpios = <&chipcommon 13 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "none";
|
|
};
|
|
|
|
2ghz {
|
|
label = "bcm53xx:blue:2ghz";
|
|
gpios = <&chipcommon 14 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "none";
|
|
};
|
|
|
|
status {
|
|
label = "bcm53xx:green:status";
|
|
gpios = <&chipcommon 15 GPIO_ACTIVE_LOW>;
|
|
linux,default-trigger = "timer";
|
|
};
|
|
};
|
|
|
|
gpio-keys {
|
|
compatible = "gpio-keys";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
restart {
|
|
label = "Reset";
|
|
linux,code = <KEY_RESTART>;
|
|
gpios = <&chipcommon 11 GPIO_ACTIVE_LOW>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&spi_nor {
|
|
status = "okay";
|
|
};
|