summaryrefslogtreecommitdiff
path: root/arch/arm/dts/fsl-ls1028a-qds.dts
diff options
context:
space:
mode:
authorAlex Marginean <alexandru.marginean@nxp.com>2019-08-07 19:30:03 +0300
committerPriyanka Jain <priyanka.jain@nxp.com>2019-09-12 16:15:31 +0530
commita3ce94b6024b93e7ab2ceaf7a6dc08c590bb3f5a (patch)
treec3a310ae06f6d3a7fb89d8adb1574c9317594b69 /arch/arm/dts/fsl-ls1028a-qds.dts
parentf002b3fa8de9942b9a4f590c1aafe83275d4a6af (diff)
arm: dts: ls1028a-qds: define the MDIO MUX
Add the device-tree structure describing the MUX in board dts. QDS board has an on-board RGMII PHY and 4 slots for extension cards. All these can be accessed over MDIO through a MDIO MUX controlled over I2C. Signed-off-by: Alex Marginean <alexm.osslist@gmail.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'arch/arm/dts/fsl-ls1028a-qds.dts')
-rw-r--r--arch/arm/dts/fsl-ls1028a-qds.dts56
1 files changed, 53 insertions, 3 deletions
diff --git a/arch/arm/dts/fsl-ls1028a-qds.dts b/arch/arm/dts/fsl-ls1028a-qds.dts
index 3fb35f186d..5d143ba077 100644
--- a/arch/arm/dts/fsl-ls1028a-qds.dts
+++ b/arch/arm/dts/fsl-ls1028a-qds.dts
@@ -33,12 +33,65 @@
&esdhc1 {
status = "okay";
+
};
&i2c0 {
status = "okay";
u-boot,dm-pre-reloc;
+ fpga@66 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "simple-mfd";
+ reg = <0x66>;
+
+ mux-mdio@54 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ compatible = "mdio-mux-i2creg";
+ reg = <0x54>;
+ #mux-control-cells = <1>;
+ mux-reg-masks = <0x54 0xf0>;
+ mdio-parent-bus = <&mdio0>;
+
+ /* on-board MDIO with a single RGMII PHY */
+ mdio@00 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x00>;
+
+ qds_phy0: phy@5 {
+ reg = <5>;
+ };
+ };
+ /* slot 1 */
+ slot1: mdio@40 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x40>;
+ };
+ /* slot 2 */
+ slot2: mdio@50 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x50>;
+ };
+ /* slot 3 */
+ slot3: mdio@60 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x60>;
+ };
+ /* slot 4 */
+ slot4: mdio@70 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+ reg = <0x70>;
+ };
+ };
+ };
+
i2c-mux@77 {
compatible = "nxp,pca9547";
reg = <0x77>;
@@ -108,7 +161,4 @@
&mdio0 {
status = "okay";
- qds_phy0: phy@5 {
- reg = <5>;
- };
};