Link: https://lore.kernel.org/r/20260217200002.683975158@linuxfoundation.org Tested-by: Florian Fainelli <florian.fainelli@broadcom.com> Tested-by: Takeshi Ogasawara <takeshi.ogasawara@futuring-girl.com> Tested-by: Peter Schneider <pschneider1968@googlemail.com> Tested-by: Jon Hunter <jonathanh@nvidia.com> Tested-by: Salvatore Bonaccorso <carnil@debian.org> Tested-by: Brett A C Sheffield <bacs@librecast.net> Tested-by: Mark Brown <broonie@kernel.org> Tested-by: Luna Jernberg <droidbittin@gmail.com> Tested-by: Ronald Warsow <rwarsow@gmx.de> Tested-by: Justin M. Forbes <jforbes@fedoraproject.org> Tested-by: Ron Economos <re@w6rz.net> Tested-by: Miguel Ojeda <ojeda@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
68 lines
1.4 KiB
Devicetree
68 lines
1.4 KiB
Devicetree
// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
/dts-v1/;
|
|
|
|
/ {
|
|
compatible = "econet,en751221";
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
|
|
hpt_clock: clock {
|
|
compatible = "fixed-clock";
|
|
#clock-cells = <0>;
|
|
clock-frequency = <200000000>; /* 200 MHz */
|
|
};
|
|
|
|
cpus: cpus {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
cpu@0 {
|
|
device_type = "cpu";
|
|
compatible = "mips,mips34Kc";
|
|
reg = <0>;
|
|
};
|
|
};
|
|
|
|
cpuintc: interrupt-controller {
|
|
compatible = "mti,cpu-interrupt-controller";
|
|
interrupt-controller;
|
|
#address-cells = <0>;
|
|
#interrupt-cells = <1>;
|
|
};
|
|
|
|
intc: interrupt-controller@1fb40000 {
|
|
compatible = "econet,en751221-intc";
|
|
reg = <0x1fb40000 0x100>;
|
|
interrupt-parent = <&cpuintc>;
|
|
interrupts = <2>;
|
|
|
|
interrupt-controller;
|
|
#interrupt-cells = <1>;
|
|
econet,shadow-interrupts = <7 2>, <8 3>, <13 12>, <30 29>;
|
|
};
|
|
|
|
uart: serial@1fbf0000 {
|
|
compatible = "ns16550";
|
|
reg = <0x1fbf0000 0x30>;
|
|
reg-io-width = <4>;
|
|
reg-shift = <2>;
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <0>;
|
|
/*
|
|
* Conversion of baud rate to clock frequency requires a
|
|
* computation that is not in the ns16550 driver, so this
|
|
* uart is fixed at 115200 baud.
|
|
*/
|
|
clock-frequency = <1843200>;
|
|
};
|
|
|
|
timer_hpt: timer@1fbf0400 {
|
|
compatible = "econet,en751221-timer";
|
|
reg = <0x1fbf0400 0x100>;
|
|
|
|
interrupt-parent = <&intc>;
|
|
interrupts = <30>;
|
|
clocks = <&hpt_clock>;
|
|
};
|
|
};
|