Part Number: AM5728
Other Parts Discussed in Thread: AM3358
Tool/software: Linux
Hello All,
We are developing our custom board with AM5728, need to enable 1GBPS ethernet (rgmii0) and VOUT1 for display interface.
SDK we are using "ti-processor-sdk-linux-am57xx-evm-02.00.01.07". Can anyone guide me how we can configure in dts file.
I saw in the uboot, board/ti/am57xx/mux_data.h configured the ethernet & VOUT lines. Do we need to configure anything else is that is enough. If i enable as below in dts file.
----------------------------------------------------------------------------------------------------------------------
lcd0: display {
compatible = "osddisplays,osd070t1718-19ts", "panel-dpi";
label = "lcd";
backlight = <&lcd_bl>;
enable-gpios = <&gpio2 5 GPIO_ACTIVE_HIGH>;
panel-timing {
clock-frequency = <33000000>;
hactive = <800>;
vactive = <480>;
hfront-porch = <210>;
hback-porch = <16>;
hsync-len = <30>;
vback-porch = <10>;
vfront-porch = <22>;
vsync-len = <13>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <1>;
pixelclk-active = <1>;
};
port {
lcd_in: endpoint {
remote-endpoint = <&dpi_out>;
};
};
};
lcd_bl: backlight {
compatible = "pwm-backlight";
pwms = <&ehrpwm1 0 50000 0>;
/* Anything lower than 241 is no longer visible */
brightness-levels = <0 243 245 247 249 251 252 253 255>;
default-brightness-level = <8>;
};
&dss {
ports {
#address-cells = <1>;
#size-cells = <0>;
port {
reg = <0>;
dpi_out: endpoint {
remote-endpoint = <&lcd_in>;
data-lines = <24>;
};
};
};
};
&ehrpwm1 {
status = "okay";
};
--------------------------------------------------------------------------------------------------------------------------------------
&davinci_mdio {
phy0: ethernet-phy@1 {
reg = <1>;
};
/* phy1: ethernet-phy@2 {
reg = <2>;
};*/
};
&mac {
status = "okay";
// dual_emac;
};
&cpsw_emac0 {
status = "okay";
phy-handle = <&phy0>;
phy_id = <&davinci_mdio>, <1>;
phy-mode = "rgmii";
dual_emac_res_vlan = <1>;
};
&cpsw_emac1 {
phy_id = <&davinci_mdio>, <2>;
phy-mode = "rgmii";
dual_emac_res_vlan = <2>;
};
----------------------------------------------------------------------------------------------
Please check above and let me know.