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/mt7621.dtsi | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'target/linux/ramips/dts/mt7621.dtsi') diff --git a/target/linux/ramips/dts/mt7621.dtsi b/target/linux/ramips/dts/mt7621.dtsi index a8b98ed..6b95c54 100644 --- a/target/linux/ramips/dts/mt7621.dtsi +++ b/target/linux/ramips/dts/mt7621.dtsi @@ -3,7 +3,7 @@ / { #address-cells = <1>; #size-cells = <1>; - compatible = "mediatek,mtk7621-soc"; + compatible = "mediatek,mt7621-soc"; cpus { cpu@0 { @@ -160,7 +160,7 @@ }; spi0: spi@b00 { - status = "okay"; + status = "disabled"; compatible = "ralink,mt7621-spi"; reg = <0xb00 0x100>; @@ -175,14 +175,6 @@ pinctrl-names = "default"; pinctrl-0 = <&spi_pins>; - - m25p80@0 { - #address-cells = <1>; - #size-cells = <1>; - reg = <0>; - spi-max-frequency = <10000000>; - m25p,chunked-io = <32>; - }; }; gdma: gdma@2800 { @@ -322,6 +314,8 @@ }; sdhci: sdhci@1E130000 { + status = "disabled"; + compatible = "ralink,mt7620-sdhci"; reg = <0x1E130000 0x4000>; @@ -427,7 +421,7 @@ GIC_SHARED 24 IRQ_TYPE_LEVEL_HIGH GIC_SHARED 25 IRQ_TYPE_LEVEL_HIGH>; - status = "okay"; + status = "disabled"; resets = <&rstctrl 24 &rstctrl 25 &rstctrl 26>; reset-names = "pcie0", "pcie1", "pcie2"; -- cgit v1.1