[PATCH 08/16] arm: dts: add spi nodes to the mt7623.dtsi file

John Crispin john at phrozen.org
Tue Jan 24 21:38:40 PST 2017



On 24/01/2017 23:39, Matthias Brugger wrote:
> 
> 
> 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
> 

should be part of the ubs patch. V2 coming up in a tad

	John

>>  #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",
>>
> 
> _______________________________________________
> Linux-mediatek mailing list
> Linux-mediatek at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-mediatek



More information about the Linux-mediatek mailing list