diff mbox series

[v1] arm64: dts: mt8192: add nor_flash device node

Message ID 1607589283-31225-1-git-send-email-bayi.cheng@mediatek.com (mailing list archive)
State New, archived
Headers show
Series [v1] arm64: dts: mt8192: add nor_flash device node | expand

Commit Message

Bayi Cheng Dec. 10, 2020, 8:34 a.m. UTC
From: bayi cheng <bayi.cheng@mediatek.com>

add nor_flash device node

Signed-off-by: bayi cheng <bayi.cheng@mediatek.com>
---
 arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 +++++++++++++
 1 file changed, 13 insertions(+)

Comments

Matthias Brugger Jan. 31, 2021, 10:26 a.m. UTC | #1
On 10/12/2020 09:34, Bayi Cheng wrote:
> From: bayi cheng <bayi.cheng@mediatek.com>
> 
> add nor_flash device node
> 
> Signed-off-by: bayi cheng <bayi.cheng@mediatek.com>
> ---
>  arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 +++++++++++++
>  1 file changed, 13 insertions(+)
> 

Applied to v5.11-next/dts64

Thanks

> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index e12e024..b15b0d3 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -379,6 +379,19 @@
>  			status = "disabled";
>  		};
>  
> +		nor_flash: spi@11234000 {
> +			compatible = "mediatek,mt8173-nor";
> +			reg = <0 0x11234000 0 0xe0>;
> +			interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 0>;
> +			clocks = <&clk26m>,
> +				 <&clk26m>,
> +				 <&clk26m>;
> +			clock-names = "spi", "sf", "axi";
> +			#address-cells = <1>;
> +			#size-cells = <0>;
> +			status = "disable";
> +		};
> +
>  		i2c3: i2c3@11cb0000 {
>  			compatible = "mediatek,mt8192-i2c";
>  			reg = <0 0x11cb0000 0 0x1000>,
>
Matthias Brugger Jan. 31, 2021, 11:25 a.m. UTC | #2
On 31/01/2021 11:26, Matthias Brugger wrote:
> 
> 
> On 10/12/2020 09:34, Bayi Cheng wrote:
>> From: bayi cheng <bayi.cheng@mediatek.com>
>>
>> add nor_flash device node
>>
>> Signed-off-by: bayi cheng <bayi.cheng@mediatek.com>
>> ---
>>  arch/arm64/boot/dts/mediatek/mt8192.dtsi | 13 +++++++++++++
>>  1 file changed, 13 insertions(+)
>>
> 
> Applied to v5.11-next/dts64

reverted and replaced with v2.

Thanks!

> 
> Thanks
> 
>> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
>> index e12e024..b15b0d3 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
>> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
>> @@ -379,6 +379,19 @@
>>  			status = "disabled";
>>  		};
>>  
>> +		nor_flash: spi@11234000 {
>> +			compatible = "mediatek,mt8173-nor";
>> +			reg = <0 0x11234000 0 0xe0>;
>> +			interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 0>;
>> +			clocks = <&clk26m>,
>> +				 <&clk26m>,
>> +				 <&clk26m>;
>> +			clock-names = "spi", "sf", "axi";
>> +			#address-cells = <1>;
>> +			#size-cells = <0>;
>> +			status = "disable";
>> +		};
>> +
>>  		i2c3: i2c3@11cb0000 {
>>  			compatible = "mediatek,mt8192-i2c";
>>  			reg = <0 0x11cb0000 0 0x1000>,
>>
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
index e12e024..b15b0d3 100644
--- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
+++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
@@ -379,6 +379,19 @@ 
 			status = "disabled";
 		};
 
+		nor_flash: spi@11234000 {
+			compatible = "mediatek,mt8173-nor";
+			reg = <0 0x11234000 0 0xe0>;
+			interrupts = <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 0>;
+			clocks = <&clk26m>,
+				 <&clk26m>,
+				 <&clk26m>;
+			clock-names = "spi", "sf", "axi";
+			#address-cells = <1>;
+			#size-cells = <0>;
+			status = "disable";
+		};
+
 		i2c3: i2c3@11cb0000 {
 			compatible = "mediatek,mt8192-i2c";
 			reg = <0 0x11cb0000 0 0x1000>,