mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 16:36:47 +07:00
a636cd6c42
Based on 1 normalized pattern(s): licensed under gplv2 or later extracted by the scancode license scanner the SPDX license identifier GPL-2.0-or-later has been chosen to replace the boilerplate/reference in 118 file(s). Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jilayne Lovejoy <opensource@jilayne.com> Reviewed-by: Steve Winslow <swinslow@gmail.com> Reviewed-by: Allison Randal <allison@lohutok.net> Reviewed-by: Kate Stewart <kstewart@linuxfoundation.org> Cc: linux-spdx@vger.kernel.org Link: https://lkml.kernel.org/r/20190519154040.961286471@linutronix.de Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
117 lines
1.9 KiB
Plaintext
117 lines
1.9 KiB
Plaintext
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/* moxart-uc7112lx.dts - Device Tree file for MOXA UC-7112-LX
|
|
*
|
|
* Copyright (C) 2013 Jonas Jensen <jonas.jensen@gmail.com>
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "moxart.dtsi"
|
|
|
|
/ {
|
|
model = "MOXA UC-7112-LX";
|
|
compatible = "moxa,moxart-uc-7112-lx", "moxa,moxart";
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x0 0x2000000>;
|
|
};
|
|
|
|
clocks {
|
|
ref12: ref12M {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <12000000>;
|
|
};
|
|
};
|
|
|
|
flash@80000000,0 {
|
|
compatible = "numonyx,js28f128", "cfi-flash";
|
|
reg = <0x80000000 0x1000000>;
|
|
bank-width = <2>;
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
partition@0 {
|
|
label = "bootloader";
|
|
reg = <0x0 0x40000>;
|
|
};
|
|
partition@40000 {
|
|
label = "linux kernel";
|
|
reg = <0x40000 0x1C0000>;
|
|
};
|
|
partition@200000 {
|
|
label = "root filesystem";
|
|
reg = <0x200000 0x800000>;
|
|
};
|
|
partition@a00000 {
|
|
label = "user filesystem";
|
|
reg = <0xa00000 0x600000>;
|
|
};
|
|
};
|
|
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
user-led {
|
|
label = "ready-led";
|
|
gpios = <&gpio 27 0x1>;
|
|
default-state = "on";
|
|
linux,default-trigger = "default-on";
|
|
};
|
|
};
|
|
|
|
gpio_keys_polled {
|
|
compatible = "gpio-keys-polled";
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
poll-interval = <500>;
|
|
button@25 {
|
|
label = "GPIO Reset";
|
|
linux,code = <116>;
|
|
gpios = <&gpio 25 1>;
|
|
};
|
|
};
|
|
|
|
chosen {
|
|
bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/mmcblk0p1 rw rootwait";
|
|
};
|
|
};
|
|
|
|
&clk_pll {
|
|
clocks = <&ref12>;
|
|
};
|
|
|
|
&sdhci {
|
|
status = "okay";
|
|
};
|
|
|
|
&mdio0 {
|
|
status = "okay";
|
|
|
|
ethphy0: ethernet-phy@1 {
|
|
device_type = "ethernet-phy";
|
|
compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
&mdio1 {
|
|
status = "okay";
|
|
|
|
ethphy1: ethernet-phy@1 {
|
|
device_type = "ethernet-phy";
|
|
compatible = "moxa,moxart-rtl8201cp", "ethernet-phy-ieee802.3-c22";
|
|
reg = <1>;
|
|
};
|
|
};
|
|
|
|
&mac0 {
|
|
status = "okay";
|
|
};
|
|
|
|
&mac1 {
|
|
status = "okay";
|
|
};
|
|
|
|
&uart0 {
|
|
status = "okay";
|
|
};
|