mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-24 16:57:02 +00:00
Edgecore 4.14 updates.
This commit is contained in:
@@ -23,7 +23,11 @@
|
||||
i2c-controller0 = &i2c0;
|
||||
i2c-controller1 = &i2c1;
|
||||
};
|
||||
|
||||
/*
|
||||
chosen {
|
||||
bootargs = "console=ttyS0,115200n8 maxcpus=2 mem=2000M";
|
||||
};
|
||||
*/
|
||||
memory {
|
||||
reg = <0x61000000 0x7f000000>;
|
||||
};
|
||||
@@ -102,31 +106,169 @@
|
||||
phy-mode = "sgmii"; /* "gmii-id", "gmii-rxid", "sgmii" */
|
||||
};
|
||||
|
||||
&usbphy0 {
|
||||
status = "okay";
|
||||
usb-phy-mode = "host"; /* "host", "device" */
|
||||
/* mdio-phy-handle = <&usb_phy>;
|
||||
*/
|
||||
};
|
||||
|
||||
&ehci0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&gpio_cca {
|
||||
status = "disabled";
|
||||
};
|
||||
|
||||
&usbphy0 {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&usbd {
|
||||
status = "okay";
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
status = "okay";
|
||||
clock-frequency = <400000>;
|
||||
cpld@30 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
compatible = "accton,as4610_54_cpld";
|
||||
label = "cpld";
|
||||
reg = <0x30>;
|
||||
};
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
status = "okay";
|
||||
mux@70 {
|
||||
compatible = "ti,pca9548";
|
||||
reg = <0x70>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
deselect-on-exit;
|
||||
|
||||
// SFP+ 1
|
||||
i2c@0 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <0>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp1";
|
||||
reg = <0x50>;
|
||||
label = "port49";
|
||||
};
|
||||
};
|
||||
|
||||
// SFP+ 2
|
||||
i2c@1 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <1>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp2";
|
||||
reg = <0x50>;
|
||||
label = "port50";
|
||||
};
|
||||
};
|
||||
|
||||
// SFP+ 3
|
||||
i2c@2 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <2>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp3";
|
||||
reg = <0x50>;
|
||||
label = "port51";
|
||||
};
|
||||
};
|
||||
|
||||
// SFP+ 4
|
||||
i2c@3 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <3>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp4";
|
||||
reg = <0x50>;
|
||||
label = "port52";
|
||||
};
|
||||
};
|
||||
|
||||
// QSFP+ STK1
|
||||
i2c@4 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <4>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp5";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
// QSFP+ STK2
|
||||
i2c@5 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <5>;
|
||||
sfp_eeprom@50 {
|
||||
compatible = "accton,as4610_sfp6";
|
||||
reg = <0x50>;
|
||||
};
|
||||
};
|
||||
|
||||
// PSU EEPROM
|
||||
i2c@6 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <6>;
|
||||
psu1_eeprom@50 {
|
||||
compatible = "accton,as4610_psu1";
|
||||
reg = <0x50>;
|
||||
};
|
||||
psu1_pmbus@58 {
|
||||
compatible = "3y-power,ym1921";
|
||||
reg = <0x58>;
|
||||
};
|
||||
psu2_eeprom@51 {
|
||||
compatible = "accton,as4610_psu2";
|
||||
reg = <0x51>;
|
||||
};
|
||||
psu2_pmbus@59 {
|
||||
compatible = "3y-power,ym1921";
|
||||
reg = <0x59>;
|
||||
};
|
||||
};
|
||||
|
||||
i2c@7 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
reg = <7>;
|
||||
|
||||
temp@48 {
|
||||
compatible = "nxp,lm77";
|
||||
reg = <0x48>;
|
||||
};
|
||||
|
||||
rtc@68 {
|
||||
/* Actually M41T11 */
|
||||
compatible = "dallas,ds1307";
|
||||
reg = <0x68>;
|
||||
};
|
||||
|
||||
board_eeprom@50 {
|
||||
compatible = "at,24c04";
|
||||
reg = <0x50>;
|
||||
label = "board_eeprom";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
&mdio_int {
|
||||
status = "okay";
|
||||
usb_phy: usb_phy@0 {
|
||||
reg = <6>;
|
||||
};
|
||||
};
|
||||
*/
|
||||
|
||||
&hwrng {
|
||||
status = "okay";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user