diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2017-02-09 21:58:36 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-06-10 12:40:38 +0200 |
commit | b43c190079eb32eb19e1ba7d550c420933c182ad (patch) | |
tree | 56e0437325b64d7f0c8183370068ba1c149dd86e /target/linux/brcm63xx/dts/dgnd3700v1.dts | |
parent | 5df15c06ccd105a19431bc32bd1d158b3ff3325e (diff) | |
download | upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.gz upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.tar.bz2 upstream-b43c190079eb32eb19e1ba7d550c420933c182ad.zip |
brcm63xx: probe SPI connected switches through DT
Now that we can configure the switches through DT, do so.
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/dgnd3700v1.dts')
-rw-r--r-- | target/linux/brcm63xx/dts/dgnd3700v1.dts | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/dgnd3700v1.dts b/target/linux/brcm63xx/dts/dgnd3700v1.dts index 7701bd013a..ea917e8f37 100644 --- a/target/linux/brcm63xx/dts/dgnd3700v1.dts +++ b/target/linux/brcm63xx/dts/dgnd3700v1.dts @@ -119,3 +119,53 @@ pinctrl-names = "default"; pinctrl-0 = <&pinctrl_pci>; }; + +&lsspi { + switch@1 { + compatible = "brcm,bcm53115"; + reg = <1>; + spi-max-frequency = <781000>; + + lede,alias = "eth0"; + + ports { + #address-cells = <1>; + #size-cells = <0>; + + wan@0 { + reg = <0>; + label = "wan"; + }; + + lan@1 { + reg = <1>; + label = "lan1"; + }; + + lan@2 { + reg = <2>; + label = "lan2"; + }; + + lan@3 { + reg = <3>; + label = "lan3"; + }; + + lan@4 { + reg = <4>; + label = "lan4"; + }; + + cpu@8 { + reg = <8>; + label = "cpu"; + + fixed-link { + speed = <1000>; + full-duplex; + }; + }; + }; + }; +}; |