realtek: Add SerDes access functions for RTL931X
[openwrt/staging/chunkeey.git] / target / linux / realtek / files-5.10 / drivers / net / phy / rtl83xx-phy.h
index 031ec8a0e91c2c71851656ffdc697b402115c36d..088f903bafae476617407ec36d1c5307a50be386 100644 (file)
@@ -58,3 +58,9 @@ struct __attribute__ ((__packed__)) fw_header {
 /* Registers of the internal Serdes of the 9300 */
 #define RTL930X_SDS_INDACS_CMD                 (0x03B0)
 #define RTL930X_SDS_INDACS_DATA                        (0x03B4)
+
+/*Registers of the internal SerDes of the 9310 */
+#define RTL931X_SERDES_INDRT_ACCESS_CTRL       (0x5638)
+#define RTL931X_SERDES_INDRT_DATA_CTRL         (0x563C)
+#define RTL931X_SERDES_MODE_CTRL               (0x13cc)
+#define RTL931X_PS_SERDES_OFF_MODE_CTRL                (0x13f4)