[PATCH 08/16] arm: dts: add spi nodes to the mt7623.dtsi file
Matthias Brugger
matthias.bgg at gmail.com
Tue Jan 24 14:39:21 PST 2017
On 01/23/2017 12:29 PM, John Crispin wrote:
> Add SPI nodes to the mt7623.dtsi file.
>
> Signed-off-by: John Crispin <john at phrozen.org>
> ---
> arch/arm/boot/dts/mt7623.dtsi | 12 ++++++++++++
> 1 file changed, 12 insertions(+)
>
> diff --git a/arch/arm/boot/dts/mt7623.dtsi b/arch/arm/boot/dts/mt7623.dtsi
> index 8ac4569..c8f38e1 100644
> --- a/arch/arm/boot/dts/mt7623.dtsi
> +++ b/arch/arm/boot/dts/mt7623.dtsi
> @@ -15,6 +15,7 @@
> #include <dt-bindings/interrupt-controller/irq.h>
> #include <dt-bindings/interrupt-controller/arm-gic.h>
> #include <dt-bindings/clock/mt2701-clk.h>
> +#include <dt-bindings/phy/phy.h>
Why do you need this include here?
Regards,
Matthias
> #include <dt-bindings/pinctrl/mt7623-pinfunc.h>
> #include <dt-bindings/power/mt2701-power.h>
> #include <dt-bindings/reset/mt2701-resets.h>
> @@ -281,6 +282,17 @@
> status = "disabled";
> };
>
> + spi: spi at 1100a000 {
> + compatible = "mediatek,mt7623-spi",
> + "mediatek,mt6589-spi";
> + reg = <0 0x1100a000 0 0x1000>;
> + interrupts = <GIC_SPI 78 IRQ_TYPE_LEVEL_LOW>;
> + clocks = <&pericfg CLK_PERI_SPI0>;
> + clock-names = "main";
> +
> + status = "disabled";
> + };
> +
> hifsys: syscon at 1a000000 {
> compatible = "mediatek,mt7623-hifsys",
> "mediatek,mt2701-hifsys",
>
More information about the linux-arm-kernel
mailing list