diff options
author | Mathias Kresin <dev@kresin.me> | 2018-01-01 17:58:30 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-02-20 19:25:17 +0100 |
commit | f519fea4c6dbffc9824b0084b8d720507793754d (patch) | |
tree | 2ecfbcddc029712907717ee5faa9a92b06947b72 /target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts | |
parent | 82ae68be70a666618e080c56aa57af41859469b8 (diff) | |
download | upstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.gz upstream-f519fea4c6dbffc9824b0084b8d720507793754d.tar.bz2 upstream-f519fea4c6dbffc9824b0084b8d720507793754d.zip |
lantiq: kernel 4.14: cleanup dts files
Move common used parts to dtsi. Add labels to nodes and reference nodes
via labels in dts files.
Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts')
-rw-r--r-- | target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts | 116 |
1 files changed, 58 insertions, 58 deletions
diff --git a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts index 3c8a2a1fa9..bd022c5c48 100644 --- a/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts +++ b/target/linux/lantiq/files-4.14/arch/mips/boot/dts/DM200.dts @@ -24,36 +24,6 @@ reg = <0x0 0x4000000>; }; - fpi@10000000 { - gpio: pinmux@E100B10 { - pinctrl-names = "default"; - pinctrl-0 = <&state_default>; - - state_default: pinmux { - mdio { - lantiq,groups = "mdio"; - lantiq,function = "mdio"; - }; - }; - - pins_spi_default: pins_spi_default { - spi_in { - lantiq,groups = "spi_di"; - lantiq,function = "spi"; - }; - spi_out { - lantiq,groups = "spi_do", "spi_clk", "spi_cs4"; - lantiq,function = "spi"; - lantiq,output = <1>; - }; - }; - }; - - pcie@d900000 { - status = "disabled"; - }; - }; - gphy-xrx200 { compatible = "lantiq,phy-xrx200"; firmware = "lantiq/xrx200_phy22f_a22.bin"; @@ -120,12 +90,68 @@ }; }; +ð0 { + lan: interface@0 { + compatible = "lantiq,xrx200-pdi"; + #address-cells = <1>; + #size-cells = <0>; + reg = <0>; + + ethernet@4 { + compatible = "lantiq,xrx200-pdi-port"; + reg = <4>; + phy-mode = "mii"; + phy-handle = <&phy13>; + }; + }; + + mdio@0 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "lantiq,xrx200-mdio"; + reg = <0>; + + phy13: ethernet-phy@13 { + reg = <0x13>; + compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; + }; + }; +}; + +&gpio { + pinctrl-names = "default"; + pinctrl-0 = <&state_default>; + + state_default: pinmux { + mdio { + lantiq,groups = "mdio"; + lantiq,function = "mdio"; + }; + }; + + pins_spi_default: pins_spi_default { + spi_in { + lantiq,groups = "spi_di"; + lantiq,function = "spi"; + }; + spi_out { + lantiq,groups = "spi_do", "spi_clk", "spi_cs4"; + lantiq,function = "spi"; + lantiq,output = <1>; + }; + }; +}; + +&pcie0 { + status = "disabled"; +}; + &spi { + status = "okay"; + pinctrl-names = "default"; pinctrl-0 = <&pins_spi_default>; - status = "ok"; - m25p80@4 { #address-cells = <1>; #size-cells = <1>; @@ -187,29 +213,3 @@ }; }; }; - -ð0 { - lan: interface@0 { - compatible = "lantiq,xrx200-pdi"; - #address-cells = <1>; - #size-cells = <0>; - reg = <0>; - - ethernet@4 { - compatible = "lantiq,xrx200-pdi-port"; - reg = <4>; - phy-mode = "mii"; - phy-handle = <&phy13>; - }; - }; - - mdio@0 { - #address-cells = <1>; - #size-cells = <0>; - compatible = "lantiq,xrx200-mdio"; - phy13: ethernet-phy@13 { - reg = <0x13>; - compatible = "lantiq,phy22f", "ethernet-phy-ieee802.3-c22"; - }; - }; -}; |