diff options
author | Mathias Kresin <dev@kresin.me> | 2016-11-18 08:39:05 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2016-11-23 08:36:10 +0100 |
commit | f1d0eba3eaf1e65ed4a185bb620540f6adbcc945 (patch) | |
tree | c3f2b0b6963a38d02cd98f04b3a20713ef12ddbb /target/linux/ramips/dts/PBR-M1.dts | |
parent | 18e7f49975deb353c1aa96bc5b5dca987a4d7e34 (diff) | |
download | mtk-20170518-f1d0eba3eaf1e65ed4a185bb620540f6adbcc945.zip mtk-20170518-f1d0eba3eaf1e65ed4a185bb620540f6adbcc945.tar.gz mtk-20170518-f1d0eba3eaf1e65ed4a185bb620540f6adbcc945.tar.bz2 |
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 <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/PBR-M1.dts')
-rw-r--r-- | target/linux/ramips/dts/PBR-M1.dts | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/target/linux/ramips/dts/PBR-M1.dts b/target/linux/ramips/dts/PBR-M1.dts index e278fc5..9a0c713 100644 --- a/target/linux/ramips/dts/PBR-M1.dts +++ b/target/linux/ramips/dts/PBR-M1.dts @@ -5,7 +5,6 @@ #include <dt-bindings/input/input.h> / { - compatible = "mediatek,mt7621-eval-board", "mediatek,mt7621-soc"; model = "PBR-M1"; memory@0 { @@ -106,10 +105,6 @@ pinctrl-0 = <&sdhci_pins>; }; -&xhci { - status = "okay"; -}; - &spi0 { status = "okay"; @@ -118,8 +113,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"; @@ -172,8 +167,6 @@ mtd-mac-address = <&factory 0xe000>; }; - - &pinctrl { state_default: pinctrl0 { gpio { |