#include "63148.dtsi" #include "../bcm_voice.dtsi" / { memory_controller { memcfg = <(BP_DDR_SPEED_800_11_11_11 | \ BP_DDR_TOTAL_SIZE_1024MB | \ BP_DDR_DEVICE_WIDTH_8)>; }; buttons { compatible = "brcm,buttons"; reset_button { ext_irq = <&bca_extintr 32 BCA_GPIO_ACTIVE_LOW (BCA_EXTINTR_TYPE_LOW_LEVEL | BCA_EXTINTR_TYPE_SENSE_LEVEL)>; 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 33 BCA_GPIO_ACTIVE_LOW (BCA_EXTINTR_TYPE_LOW_LEVEL | BCA_EXTINTR_TYPE_SENSE_LEVEL)>; release { ses_short_period = <0>; ses_long_period = <3>; }; }; }; dect_reset:dect_reset { compatible = "brcm,voice-dect-reset"; dectreset-gpio = <&gpioc 62 GPIO_ACTIVE_HIGH>; }; }; &bcm_voice{ sliclist = SLICSLAC_LIST_COMMON_FXO; }; &hsspi { status = "okay"; voice0 { pinctrl-0 = <&a_spim_ss1_b_pin_127>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <1>; /* chip select 1 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 60 GPIO_ACTIVE_LOW>; spi-index = <0>;/* voice header index */ }; voice1 { pinctrl-0 = <&spim_ss2_b_pin_10>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <2>; /* chip select 2 */ spi-max-frequency = <1024000>; reset-gpio = <&gpioc 61 GPIO_ACTIVE_LOW>; spi-index = <1>;/* voice header index */ }; voice2 { pinctrl-0 = <&spim_ss4_b_pin_8>; pinctrl-names = "default"; compatible = "bcm-spi-voice"; reg = <4>; /* chip select 2 */ spi-max-frequency = <1024000>; /*reset-gpio = NA;*/ spi-index = <2>;/* voice header index */ }; }; &legacy_leds { adsl-led = <&led17>; adsl-fail-led = <&led16>; sec-adsl-led = <&led21>; sec-adsl-fail-led = <&led20>; wan-data-led = <&led15>; wl-sess-led = <&led24>; voip1-ok-led = <&led29>; voip2-ok-led = <&led30>; dect-led = <&led31>; }; &led_ctrl { led0: port_0-led_0-pin_0 { active_low; link = <(LED_SPEED_1G)>; status = "okay"; }; led1: port_0-led_1-pin_1 { active_low; link = <(LED_SPEED_100)>; status = "okay"; }; led2: port_1-led_0-pin_2 { active_low; link = <(LED_SPEED_1G)>; status = "okay"; }; led3: port_1-led_1-pin_3 { active_low; link = <(LED_SPEED_100)>; status = "okay"; }; led4: port_2-led_0-pin_4 { active_low; link = <(LED_SPEED_1G)>; status = "okay"; }; led5: port_2-led_1-pin_5 { active_low; link = <(LED_SPEED_100)>; status = "okay"; }; led6: port_3-led_0-pin_6 { active_low; link = <(LED_SPEED_1G)>; status = "okay"; }; led7: port_3-led_1-pin_7 { active_low; link = <(LED_SPEED_100)>; status = "okay"; }; led11: port_1-led_2-pin_11 { active_low; activity = <(LED_SPEED_100|LED_SPEED_1G)>; link = <(LED_SPEED_100|LED_SPEED_1G)>; status = "okay"; }; led12: port_2-led_2-pin_12 { active_low; activity = <(LED_SPEED_100|LED_SPEED_1G)>; link = <(LED_SPEED_100|LED_SPEED_1G)>; status = "okay"; }; led13: port_3-led_2-pin_13 { active_low; activity = <(LED_SPEED_100|LED_SPEED_1G)>; link = <(LED_SPEED_100|LED_SPEED_1G)>; status = "okay"; }; led14: port_4-led_2-pin_14 { active_low; activity = <(LED_SPEED_100|LED_SPEED_1G)>; link = <(LED_SPEED_100|LED_SPEED_1G)>; status = "okay"; }; led15: wan_0-data-pin_15 { active_low; status = "okay"; }; led16: sw_led_16-pin_16 { active_low; status = "okay"; }; led17: sw_led_17-pin_17 { active_low; status = "okay"; }; led19: wan_1-data-pin_19 { active_low; status = "okay"; }; led20: sw_led_20-pin_20 { active_low; status = "okay"; }; led21: sw_led_21-pin_21 { active_low; status = "okay"; }; led22: sw_led_22-pin_22 { active_low; status = "okay"; }; led23: sw_led_23-pin_23 { active_low; status = "okay"; }; led24: sw_led_24-pin_24 { active_low; status = "okay"; }; led26: port_4-led_0-pin_26 { active_low; link = <(LED_SPEED_1G)>; status = "okay"; }; led27: port_4-led_1-pin_27 { active_low; link = <(LED_SPEED_100)>; status = "okay"; }; led28: port_0-led_2-pin_28 { active_low; activity = <(LED_SPEED_100|LED_SPEED_1G)>; link = <(LED_SPEED_100|LED_SPEED_1G)>; status = "okay"; }; led29: sw_led_29-pin_29 { active_low; status = "okay"; }; led30: sw_led_30-pin_30 { active_low; status = "okay"; }; led31: sw_led_31-pin_31 { active_low; status = "okay"; }; }; &vreg_sync { pinctrl-0 = <&vreg_clk_pin_18>; pinctrl-names = "default"; }; &mdio_sf2 { /* PHYs directly connected to SF2 */ gphy8:8 { status = "okay"; }; gphy9:9 { status = "okay"; }; gphya:a { status = "okay"; }; gphyb:b { status = "okay"; }; /* PHYs connected to crossbar */ gphyc:c { status = "okay"; }; /* Crossbar groups */ xbar_grp1:1 { phy-handle = <&gphyc>; status = "okay"; }; }; &switch_sf2 { ports { sf2_port0@0 { phy-handle = <&gphy8>; network-leds = <&led0 &led1 &led28>; status = "okay"; }; sf2_port1@1 { phy-handle = <&gphy9>; network-leds = <&led2 &led3 &led11>; status = "okay"; }; sf2_port2@2 { phy-handle = <&gphya>; network-leds = <&led4 &led5 &led12>; status = "okay"; }; sf2_port3@3 { phy-handle = <&gphyb>; network-leds = <&led6 &led7 &led13>; status = "okay"; }; }; }; &switch0 { ports { port0@0 { phy-handle = <&xbar_grp1>; phy-mode = "gmii"; status = "okay"; }; }; };