HI
On my custom board based on am3352 I have ksz9447 ethernet switch,
I'd like to configure my device tree for the same.
This is my current entry:
ksz9477S: ksz9477@0 {
compatible = "microchip,ksz9477";
reg = <0>;
/* Bus clock is 132 MHz. previously 44000000*/
spi-max-frequency = <1000000>;
spi-cpha;
spi-cpol;
gpios = <&gpio2 3 GPIO_ACTIVE_HIGH>;
status = "okay";
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
label = "lan0";
};
port@1 {
reg = <1>;
label = "lan1";
};
port@2 {
reg = <2>;
label = "lan2";
};
port@3 {
reg = <3>;
label = "lan3";
};
port@4 {
reg = <3>;
label = "lan3";
};
port@6 {
reg = <6>;
label = "cpu";
ethernet = <&davinci_mdio>;
fixed-link {
speed = <1000>;
full-duplex;
};
};
};
However I can only see eth0 when the board boots.
Please find attached entire dts(decompiled from dtb).