/dts-v1/; #include #include #include #include "prx300.dtsi" #include "prx300-512MB.dtsi" #include "prx300-pon.dtsi" /* Model configuration */ / { model = "PRX321-GW-11AX"; compatible = "intel,prx321-gw-11ax", "intel,prx300"; chosen { stdout-path = "serial0"; }; memory@0 { device_type = "memory"; reg = <0x20000000 0x40000000>; /* 1024 MB */ }; }; /****************************************************************************** ** Board configuration: Enable PCIe board configuration. ** PCIE sub-system feature configuration, the pcie0/1 are defined in Soc level ******************************************************************************/ &cb0phy0 { intel,mode = <0>; /*0-pcie, 1-xpcs*/ status = "okay"; }; &cb0phy1 { intel,mode = <0>; /*0-pcie, 1-xpcs*/ status = "okay"; }; &pcie0 { status = "okay"; intel,rst-interval = <200>; intel,inbound-swap = <1>; intel,outbound-swap = <0>; reset-gpios = <&gpio0 19 GPIO_ACTIVE_LOW>; num-lanes = <1>; }; &pcie1 { status = "okay"; intel,rst-interval = <200>; intel,inbound-swap = <1>; intel,outbound-swap = <0>; reset-gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; num-lanes = <1>; }; /* SSC1 is not used and GPIO 17 is needed for PCIe */ &ssc1 { status = "disabled"; }; /****************************************************************************** ** Board configuration: Enable Shift register LED board configuration. ******************************************************************************/ &ssogpio { status = "disabled"; }; &ssoled { status = "disabled"; /* led definition */ intel,sso-def-brightness = <0>; /* default off */ intel,sso-def-blinkrate = <4>; /* HZ*/ /* blink rate list: 2, 4, 8, 10, 50K, 100K, 200K, 250K, 1000K */ }; /****************************************************************************** ** Board configuration: Configure LAN/WAN interfaces ******************************************************************************/ ð { status = "okay"; lan1: interface@1 { compatible = "lantiq,xrx500-pdi"; #address-cells = <1>; #size-cells = <0>; reg = <1>; intel,dp-dev-port = <4>; intel,dp-port-id = <4>; mac = <&gsw_mac2>; intel,lct-en = <1>; intel,extra-subif = <4>; lan1_eth: ethernet@1 { compatible = "lantiq,xrx500-pdi-port"; reg = <2>; phy-mode = "rgmii"; phy-handle = <&gphy>; }; }; }; &vuni { status = "okay"; vani@0 { intel,extra-subif = "VANI0", "VUNI0_0", "VUNI0_1", "VUNI0_us", "VUNI0_2"; intel,extra-subif-domain = ; }; }; &cqm { /* Total Number of Buffers in pool0 */ intel,bm-buff-num = <0xaf40>; /* Size of each buffer in pool0 */ intel,bm-buff-size = <0x1000>; /* Buffer pools are shared for DS and US, no split */ intel,bm-buff-split = <0x0 0x0>; /* number of radios requiring 32 VAP support defined */ intel,radio-32-vap = <1>; }; &dma1tx { lantiq,dma-desc-fod = <0>; }; &pinctrl_qspi { intel,slew-rate = <1>; intel,drive-current = <3>; }; &qspi0 { status = "okay"; ltq-spinand@0 { status = "okay"; #address-cells = <1>; #size-cells = <1>; compatible = "lantiq,spinand"; reg = <0 1>; linux,mtd-name = "nand.0"; spi-max-frequency = <50000000>; page-size = <2048>; block-size = <17>; // 2^17, 128KB spi-tx-bus-width = <1>; spi-rx-bus-width = <4>; /* Read-delay is needed for higher freq. * 2 ref_clk is chosen as value that works well upto * spi-freq 50MHz (with ref_clk 100MHz). */ read-delay = <2>; tshsl-ns = <200>; tsd2d-ns = <255>; tchsh-ns = <20>; tslch-ns = <20>; }; }; &gphy_fw { status = "okay"; }; &gphy { status = "okay"; }; &umt { status = "okay"; }; / { aliases { i2c0 = &i2c_gpio; }; i2c_gpio: i2c-gpio { compatible = "i2c-gpio"; gpios = <&gpio0 27 GPIO_ACTIVE_HIGH /* sda */ &gpio0 26 GPIO_ACTIVE_HIGH /* scl */ >; i2c-gpio,delay-us = <5>; /* ~100 kHz */ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_i2c0_gpio>; #address-cells = <1>; #size-cells = <0>; /* EEPROM of the optical WAN transceiver */ eeprom@50 { compatible = "at,24c02"; reg = <0x50>; }; eeprom@51 { compatible = "at,24c02"; reg = <0x51>; }; }; }; &pon_eth { intel,max_ctps = <128>; }; /* use CPU3 for MPE firmware */ &cpu3 { default-OS = "MPEFW"; }; &gsw_core { intel,gsw-globalpce-rules = <256>; }; &cqm { DQ3: cpu-port3 { intel,deq-port = <3 4>; }; };