summaryrefslogtreecommitdiff
path: root/target/linux/ramips/dts/mt7621.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2016-11-18 08:39:05 +0100
committerMathias Kresin <dev@kresin.me>2016-11-23 08:36:10 +0100
commitf1d0eba3eaf1e65ed4a185bb620540f6adbcc945 (patch)
treec3f2b0b6963a38d02cd98f04b3a20713ef12ddbb /target/linux/ramips/dts/mt7621.dtsi
parent18e7f49975deb353c1aa96bc5b5dca987a4d7e34 (diff)
downloadmtk-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/mt7621.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7621.dtsi16
1 files changed, 5 insertions, 11 deletions
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";