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/WITI.dts | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'target/linux/ramips/dts/WITI.dts') diff --git a/target/linux/ramips/dts/WITI.dts b/target/linux/ramips/dts/WITI.dts index a82a49521b..de0c517d0c 100644 --- a/target/linux/ramips/dts/WITI.dts +++ b/target/linux/ramips/dts/WITI.dts @@ -5,7 +5,6 @@ #include / { - compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "MQmaker WiTi"; memory@0 { @@ -43,15 +42,10 @@ }; }; - &sdhci { status = "okay"; }; -&xhci { - status = "okay"; -}; - &spi0 { status = "okay"; @@ -60,8 +54,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"; -- cgit v1.2.3