[PATCH 5/5] ath79: mikrotik: add poe to hex poe board

Oskari Lemmela oskari at lemmela.net
Tue Jan 25 22:38:45 PST 2022


Enable poe controller to hex poe board.

Signed-off-by: Oskari Lemmela <oskari at lemmela.net>
---
 .../qca9557_mikrotik_routerboard-960pgs.dts   | 31 +++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts b/target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts
index 273357cf39..7748f3ec69 100644
--- a/target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts
+++ b/target/linux/ath79/dts/qca9557_mikrotik_routerboard-960pgs.dts
@@ -268,6 +268,37 @@
 			};
 		};
 	};
+	poe_ctrl at 2 {
+		compatible = "mikrotik,poe-v3";
+		#address-cells = <1>;
+		#size-cells = <0>;
+		reg = <2>;
+		spi-max-frequency = <2100000>;
+
+		port at 2 {
+			compatible = "mikrotik,poeport";
+			reg = <4>;
+			label = "lan2";
+		};
+
+		port at 3 {
+			compatible = "mikrotik,poeport";
+			reg = <3>;
+			label = "lan3";
+		};
+
+		port at 4 {
+			compatible = "mikrotik,poeport";
+			reg = <2>;
+			label = "lan4";
+		};
+
+		port at 5 {
+			compatible = "mikrotik,poeport";
+			reg = <1>;
+			label = "lan5";
+		};
+	};
 };
 
 &usb0 {
-- 
2.25.1




More information about the openwrt-devel mailing list