#include "inc/68580.dtsi" #include "../bcm_voice.dtsi" / { memory_controller { memcfg = <(BP_DDR_SPEED_1067_14_14_14 | \ BP_DDR_TOTAL_SIZE_512MB | \ BP_DDR_DEVICE_WIDTH_16 | \ BP_DDR_TOTAL_WIDTH_32BIT)>; }; }; / { xfp_sfp: xfp_sfp { pinctrl-names = "tx-sd"; pinctrl-0 = <&a_rogue_onu_in_pin_56>; compatible = "brcm,sfp"; i2c-bus = <&i2c1>; tx-power-gpio = <&gpioc 50 GPIO_ACTIVE_HIGH>; }; wan_serdes { compatible = "brcm,pon-drv"; trx = <&xfp_sfp>; pon-led = <&led8>; alarm-led = <&led5>; }; }; &hs_uart0 { pinctrl-0 = <&b_uart2_sin_pin_16 &b_uart2_sout_pin_17 &b_uart2_cts_pin_18 &b_uart2_rts_pin_19>; status = "okay"; }; &mdio_lport { lportphy1:1 { status = "okay"; }; lportphy2:2 { status = "okay"; }; lportphy3:3 { status = "okay"; }; lportphy4:4 { status = "okay"; }; lportphy1a:1a { compatible = "brcm,bcaphy"; phy-type = "EXT2"; reg = <0x1a>; caps-no-hdx; status = "okay"; }; lportphy1c:1c { compatible = "brcm,bcaphy"; phy-type = "EXT2"; reg = <0x1c>; caps-no-hdx; status = "okay"; }; lportphy16:16 { compatible = "brcm,bcaphy"; phy-type = "EXT2"; reg = <0x16>; caps-no-hdx; status = "okay"; }; lportphy1e:1e { compatible = "brcm,bcaphy"; phy-type = "EXT2"; reg = <0x1e>; caps-no-hdx; status = "okay"; }; }; &switch0 { ports { port0@0 { status = "okay"; network-leds = <&led0 &led1>; }; port1@1 { status = "okay"; network-leds = <&led3 &led4>; }; port2@2 { status = "okay"; network-leds = <&led6 &led7>; }; port3@3 { status = "okay"; network-leds = <&led9 &led10>; }; port_sgmii_4@4 { reg = <4>; mac-type = "LPORT"; phy-handle = <&lportphy1c>; phy-mode = "sgmii"; status = "okay"; network-leds = <&led12 &led13>; }; port_sgmii_5@5 { reg = <5>; mac-type = "LPORT"; phy-handle = <&lportphy1a>; phy-mode = "sgmii"; status = "okay"; network-leds = <&led15 &led16>; }; port_sgmii_6@6 { reg = <6>; mac-type = "LPORT"; phy-handle = <&lportphy16>; phy-mode = "sgmii"; status = "okay"; network-leds = <&led18 &led19>; }; port_sgmii_7@7 { reg = <7>; mac-type = "LPORT"; phy-handle = <&lportphy1e>; phy-mode = "sgmii"; status = "okay"; network-leds = <&led21 &led22>; }; }; }; &led_ctrl { pinctrl-names = "default"; pinctrl-0 = <&b_ser_led_clk_pin_30 &b_ser_led_data_pin_29 &b_ser_led_mask_pin_31>; serial-shifters-installed = <4>; led0: port_0-led_0-bit_0 { active_low; status = "okay"; link = ; }; led1: port_0-led_1-bit_1 { active_low; status = "okay"; activity = ; }; led2: sw_led-bit_2 { active_low; brightness = <255>; flash_rate = <0>; status = "okay"; label = "WAN"; }; led3: port_1-led_0-bit_3 { active_low; status = "okay"; link = ; }; led4: port_1-led_1-bit_4 { active_low; status = "okay"; activity = ; }; led5: sw_led-bit_5 { active_low; brightness = <255>; flash_rate = <0>; status = "okay"; label = "OpticalLinkFail"; }; led6: port_2-led_0-bit_6 { active_low; status = "okay"; link = ; }; led7: port_2-led_1-bit_7 { active_low; status = "okay"; activity = ; }; led8: sw_led-bit_8 { active_low; brightness = <255>; flash_rate = <0>; status = "okay"; label = "PON"; }; led9: port_3-led_0-bit_9 { active_low; status = "okay"; link = ; }; led10: port_3-led_1-bit_10 { active_low; status = "okay"; activity = ; }; led11: sw_led-bit_11 { active_low; brightness = <0>; flash_rate = <0>; status = "okay"; label = "VOIP_1"; }; led12: port_4-led_0-bit_12 { active_low; status = "okay"; link = ; }; led13: port_4-led_1-bit_13 { active_low; status = "okay"; activity= ; }; led14: sw_led-bit_14 { active_low; brightness = <0>; flash_rate = <0>; status = "okay"; }; led15: port_5-led_0-bit_15 { active_low; status = "okay"; link = ; }; led16: port_5-led_1-bit_16 { active_low; status = "okay"; activity= ; }; led17: sw_led-bit_17 { active_low; brightness = <0>; flash_rate = <0>; status = "okay"; }; led18: port_6-led_0-bit_18 { active_low; status = "okay"; link = ; }; led19: port_6-led_1-bit_19 { active_low; status = "okay"; activity = ; }; led20: sw_led-bit_20 { active_low; brightness = <0>; flash_rate = <0>; status = "okay"; }; led21: port_7-led_0-bit_21 { active_low; status = "okay"; link = ; }; led22: port_7-led_1-bit_22 { active_low; status = "okay"; link = ; }; }; &legacy_leds { wan-data-led = <&led2>; voip1-ok-led = <&led11>; voip2-ok-led = <&led14>; usb-led = <&led20>; wl-sess-led = <&led17>; }; &nand { status = "okay"; }; &wdt { status = "okay"; }; &i2c0 { status = "okay"; }; &i2c1 { pinctrl-0 = <&i2c_2_scl_pin_23 &i2c_2_sda_pin_24>; pinctrl-names = "default"; status = "okay"; }; &usb_ctrl { status = "okay"; xhci-enable; pinctrl-names = "default"; pinctrl-0 = <&usb0_pwr_pins &usb1_pwr_pins>; }; &usb0_xhci { status = "okay"; }; &usb0_ehci { status = "okay"; }; &usb1_ehci { status = "okay"; }; &usb0_ohci { status = "okay"; }; &usb1_ohci { status = "okay"; }; &sdhci { status = "okay"; }; &hsspi { status = "okay"; voice0 { pinctrl-0 = <&a_spim_ss3_b_pin_13>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <3>; /* chip select 3 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 21 GPIO_ACTIVE_LOW>; spi-index = <0>; }; voice1 { pinctrl-0 = <&a_spim_ss4_b_pin_12>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <4>; /* chip select 4 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 22 GPIO_ACTIVE_LOW>; spi-index = <1>; }; voice2 { pinctrl-0 = <&a_spim_ss5_b_pin_11>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <5>; /* chip select 5 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 20 GPIO_ACTIVE_LOW>; spi-index = <2>; }; voice3 { pinctrl-0 = <&spim_ss1_b_pin_106>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <1>; /* chip select 1 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 4 GPIO_ACTIVE_LOW>; spi-index = <3>; }; }; &pcie0 { status = "okay"; }; &pcie1 { status = "okay"; }; &pcie2 { status = "okay"; }; &bcm_voice{ sliclist = SLICSLAC_LIST_COMMON_NOFXO; };