summaryrefslogtreecommitdiffstats
path: root/sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi
diff options
context:
space:
mode:
Diffstat (limited to 'sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi')
-rw-r--r--sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi b/sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi
new file mode 100644
index 0000000..5cc5383
--- /dev/null
+++ b/sys/boot/fdt/dts/mips/fbsd-rt5350.dtsi
@@ -0,0 +1,38 @@
+/* $FreeBSD$ */
+
+/ {
+
+ /*
+ * FreeBSD's stdin and stdout, so we can have a console
+ */
+ chosen {
+ stdin = &uartlite;
+ stdout = &uartlite;
+ };
+
+ /*
+ * OpenWRT doesn't define a clock controller, but we currently need one
+ */
+ clkctrl: cltctrl {
+ compatible = "ralink,rt2880-clock";
+ #clock-cells = <1>;
+ };
+
+ palmbus@10000000 {
+ /*
+ * Make palmbus compatible to our simplebus
+ */
+ compatible = "simple-bus";
+
+ /*
+ * Reference uartlite@c00 as uartlite, so we can address it
+ * within the chosen node above
+ */
+ uartlite: uartlite@c00 {};
+ };
+
+ usbphy {
+ clocks = <&clkctrl 18>;
+ clock-names = "host";
+ };
+};
OpenPOWER on IntegriCloud