From f1d0eba3eaf1e65ed4a185bb620540f6adbcc945 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Fri, 18 Nov 2016 08:39:05 +0100 Subject: ramips: cleanup dts files of mt7621 based boards Fix a typo in mt7621.dtsi compatible string. Disable spi, sdhci and pci in mt7621.dtsi and enable the nodes in the indiviual board dts files. The nodes require further device specific configuration anyway. Remove the m25p80@0 spi child node from mt7621.dtsi and add the chunked-io parameter to the individual board dts files. Fix the spi flash compatible string for the WNDR3700V5. Drop the mt7621-eval-board compatible string for all boards which are not the eval board. Drop the linux,modalias parameter from spi flash node. Remove the xhci node from board files, it is already enabled in dtsi. Disable xhci for boards not having usb ports populated. Signed-off-by: Mathias Kresin --- target/linux/ramips/dts/RB750Gr3.dts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'target/linux/ramips/dts/RB750Gr3.dts') diff --git a/target/linux/ramips/dts/RB750Gr3.dts b/target/linux/ramips/dts/RB750Gr3.dts index d39a2d113b..bf1c2ba495 100644 --- a/target/linux/ramips/dts/RB750Gr3.dts +++ b/target/linux/ramips/dts/RB750Gr3.dts @@ -1,11 +1,11 @@ /dts-v1/; #include "mt7621.dtsi" + #include #include / { - compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "MikroTik RB750Gr3"; memory@0 { @@ -65,8 +65,8 @@ #size-cells = <1>; compatible = "jedec,spi-nor"; reg = <0>; - linux,modalias = "m25p80"; spi-max-frequency = <10000000>; + m25p,chunked-io = <32>; partition@0 { label = "u-boot"; @@ -111,11 +111,3 @@ &sdhci { status = "okay"; }; - -&xhci { - status = "okay"; -}; - -&pcie { - status = "disabled"; -}; -- cgit v1.2.3