#include "inc/68360.dtsi" /{ memory_controller { memcfg = <(BP_DDR_SPEED_800_11_11_11 | \ BP_DDR_TOTAL_SIZE_512MB | \ BP_DDR_DEVICE_WIDTH_16 | \ BP_DDR_TOTAL_WIDTH_16BIT | \ BP_DDR_SSC_CONFIG_1)>; }; }; / { model = "968360BG_PCI0X2"; wan_serdes { compatible = "brcm,pon-drv"; trx = <&pmd>; tx-polarity-invert; pon-led = <&led20>; alarm-led = <&led0>; }; pmd: pmd { compatible = "brcm,pmd"; pinctrl-names = "default", "state_ewake"; pinctrl-0 = <&pon_lbe_p_pin_22>; pinctrl-1 = <&pon_lbe_p_pin_22 &early_txen_pin_24>; ewake-gpio = <&gpioc 24 GPIO_ACTIVE_HIGH>; rstn-gpio = <&gpioc 9 GPIO_ACTIVE_LOW>; alarm = <&bca_extintr 10 GPIO_ACTIVE_HIGH (BCA_EXTINTR_TYPE_HIGH_LEVEL | BCA_EXTINTR_TYPE_SENSE_EDGE)>; apd-boost; i2c-bus = <&i2c0>; }; buttons { compatible = "brcm,buttons"; reset_button { ext_irq = <&bca_extintr 82 BCA_GPIO_ACTIVE_LOW (BCA_EXTINTR_TYPE_LOW_LEVEL | BCA_EXTINTR_TYPE_SENSE_EDGE)>; press { print = "Button Press -- Hold for 5s to do restore to default"; }; hold { rst_to_dflt = <5>; }; release { reset = <0>; }; }; ses_button { ext_irq = <&bca_extintr 83 BCA_GPIO_ACTIVE_LOW (BCA_EXTINTR_TYPE_LOW_LEVEL | BCA_EXTINTR_TYPE_SENSE_EDGE)>; release { ses_short_period = <0>; ses_long_period = <3>; }; }; }; }; &hs_uart0 { pinctrl-0 = <&d_uart2_sin_pin_7 &a_uart2_sout_pin_25>; status = "okay"; }; &rgmii { status = "okay"; }; &mdio { phy1:1 { status = "okay"; }; phy2:2 { status = "okay"; }; phy3:3 { status = "okay"; }; phy4:4 { status = "okay"; }; phy_rgmii: rgmii { reg = <7>; tx-delay; status = "okay"; }; phy_serdes: serdes { phy-handle = <&phy_ext_serdes>; status = "okay"; }; phy_ext_serdes: ext_serdes { reg = <0x1e>; status = "okay"; }; }; &switch0 { pinctrl-names = "default", "rgmii1"; pinctrl-0 = <&per_mdc_pin_60 &per_mdio_pin_61 &rgmii1_pins>; pinctrl-1 = <&rgmii1_pins>; ports { port0@0 { network-leds = <&led3 &led4>; status = "okay"; }; port1@1 { network-leds = <&led5 &led6>; status = "okay"; }; port2@2 { network-leds = <&led7 &led8>; status = "okay"; }; port3@3 { network-leds = <&led9 &led10>; status = "okay"; }; port4@4 { mii-pinctrl-state = "rgmii1"; status = "okay"; }; port5@5 { network-leds = <&led11 &led12 &led13 &led14>; status = "okay"; }; }; }; &led_ctrl { pinctrl-names = "default"; pinctrl-0 = <&ser_led_clk_pin_27 &ser_led_data_pin_26 &ser_led_mask_pin_28>; serial-shifters-installed = <3>; led0: sw_led-bit_0 { active_low; label = "OpticalLinkFail"; status = "okay"; }; led1: sw_led-bit_1 { active_low; label = "WAN"; status = "okay"; }; led2: sw_led-bit_2 { active_low; label = "WiFi"; status = "okay"; }; led3: port_0-led_0-bit_3 { active_low; link = ; status = "okay"; }; led4: port_0-led_1-bit_4 { active_low; activity = ; status = "okay"; }; led5: port_1-led_0-bit_5 { active_low; link = ; status = "okay"; }; led6: port_1-led_1-bit_6 { active_low; activity = ; status = "okay"; }; led7: port_2-led_0-bit_7 { active_low; link = ; status = "okay"; }; led8: port_2-led_1-bit_8 { active_low; activity = ; status = "okay"; }; led9: port_3-led_0-bit_9 { active_low; link = ; status = "okay"; }; led10: port_3-led_1-bit_10 { active_low; activity = ; status = "okay"; }; led11: port_5-led_0-bit_11 { active_low; link = ; status = "okay"; }; led12: port_5-led_1-bit_12 { active_low; link = ; status = "okay"; }; led13: port_5-led_2-bit_13 { active_low; link = <(LED_SPEED_2500 | LED_SPEED_10G)>; status = "okay"; }; led14: port_5-led_3-bit_14 { active_low; activity = ; status = "okay"; }; led15: sw_led-bit_15 { active_low; label = "USB_1"; status = "okay"; }; led16: sw_led-bit_16 { active_low; label = "VOIP_1"; status = "okay"; }; led17: sw_led-bit_17 { active_low; label = "VOIP_2"; status = "okay"; }; led18: sw_led-bit_18 { active_low; status = "okay"; }; led19: sw_led-bit_19 { active_low; status = "okay"; }; led20: sw_led-bit_20 { active_low; label = "PON"; status = "okay"; }; led21: sw_led-bit_21 { active_low; label = "USB_2"; status = "okay"; }; }; &legacy_leds { wan-data-led = <&led1>; voip1-ok-led = <&led16>; voip2-ok-led = <&led17>; usb-led = <&led15>; wl-sess-led = <&led2>; }; &usb_ctrl { xhci-enable; status = "okay"; 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"; }; &nand { status = "okay"; }; &uart0 { status = "okay"; }; &wdt { status = "okay"; }; &i2c0 { pinctrl-0 = <&i2c_scl_pin_20 &i2c_sda_pin_19>; pinctrl-names = "default"; status = "okay"; }; &sdhci { status = "okay"; }; &hsspi { status = "okay"; }; &pcie0 { brcm,dual-lane; status = "okay"; }; &pcie2 { status = "okay"; };