diff options
author | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-14 18:19:35 +0200 |
---|---|---|
committer | Álvaro Fernández Rojas <noltari@gmail.com> | 2020-05-18 18:24:06 +0200 |
commit | 86583384ff4ce144c17997bd462ee0835e28310b (patch) | |
tree | a6af580ac8ccd1162bd41687de5e3c670527a1d6 /target/linux/bcm63xx/dts | |
parent | dcee4eaa4214dce19800ea04da0dd92ebf7af29a (diff) | |
download | upstream-86583384ff4ce144c17997bd462ee0835e28310b.tar.gz upstream-86583384ff4ce144c17997bd462ee0835e28310b.tar.bz2 upstream-86583384ff4ce144c17997bd462ee0835e28310b.zip |
bcm63xx: smp: add NAND support
NAND controller is present on BCM6328, BCM6362, BCM6368 and BCM63268.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Diffstat (limited to 'target/linux/bcm63xx/dts')
-rw-r--r-- | target/linux/bcm63xx/dts/bcm63268.dtsi | 25 | ||||
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6328.dtsi | 20 | ||||
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6362.dtsi | 25 | ||||
-rw-r--r-- | target/linux/bcm63xx/dts/bcm6368.dtsi | 22 |
4 files changed, 92 insertions, 0 deletions
diff --git a/target/linux/bcm63xx/dts/bcm63268.dtsi b/target/linux/bcm63xx/dts/bcm63268.dtsi index 1b4b3e6178..0c08aead20 100644 --- a/target/linux/bcm63xx/dts/bcm63268.dtsi +++ b/target/linux/bcm63xx/dts/bcm63268.dtsi @@ -4,6 +4,7 @@ compatible = "brcm,bcm63268"; aliases { + nflash = &nflash; pinctrl = &pinctrl; serial0 = &uart0; serial1 = &uart1; @@ -239,6 +240,30 @@ /* clocks = <&clkctl 16>; */ }; + nflash: nand@10000200 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,nand-bcm6368", + "brcm,brcmnand-v4.0", + "brcm,brcmnand"; + reg = <0x10000200 0x180>, + <0x10000600 0x200>, + <0x100000b0 0x10>; + reg-names = "nand", + "nand-cache", + "nand-int-base"; + + interrupt-parent = <&periph_intc>; + interrupts = <50>; + + /* clocks = <&clkctl 20>; */ + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nand>; + + status = "disabled"; + }; + leds: led-controller@10001900 { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/bcm63xx/dts/bcm6328.dtsi b/target/linux/bcm63xx/dts/bcm6328.dtsi index d08b6bab7a..f62fad783e 100644 --- a/target/linux/bcm63xx/dts/bcm6328.dtsi +++ b/target/linux/bcm63xx/dts/bcm6328.dtsi @@ -4,6 +4,7 @@ compatible = "brcm,bcm6328"; aliases { + nflash = &nflash; pinctrl = &pinctrl; serial0 = &uart0; serial1 = &uart1; @@ -179,6 +180,25 @@ status = "disabled"; }; + nflash: nand@10000200 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,nand-bcm6368", + "brcm,brcmnand-v2.2", + "brcm,brcmnand"; + reg = <0x10000200 0x180>, + <0x10000400 0x200>, + <0x10000070 0x10>; + reg-names = "nand", + "nand-cache", + "nand-int-base"; + + interrupt-parent = <&periph_intc>; + interrupts = <0>; + + status = "disabled"; + }; + leds: led-controller@10000800 { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/bcm63xx/dts/bcm6362.dtsi b/target/linux/bcm63xx/dts/bcm6362.dtsi index 2ff5c52ad7..e639fc8837 100644 --- a/target/linux/bcm63xx/dts/bcm6362.dtsi +++ b/target/linux/bcm63xx/dts/bcm6362.dtsi @@ -4,6 +4,7 @@ compatible = "brcm,bcm6362"; aliases { + nflash = &nflash; pinctrl = &pinctrl; serial0 = &uart0; serial1 = &uart1; @@ -283,6 +284,30 @@ /* clocks = <&clkctl 16>; */ }; + nflash: nand@10000200 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,nand-bcm6368", + "brcm,brcmnand-v2.2", + "brcm,brcmnand"; + reg = <0x10000200 0x180>, + <0x10000600 0x200>, + <0x10000070 0x10>; + reg-names = "nand", + "nand-cache", + "nand-int-base"; + + interrupt-parent = <&periph_intc>; + interrupts = <12>; + + /* clocks = <&clkctl 20>; */ + + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_nand>; + + status = "disabled"; + }; + leds: led-controller@10001900 { #address-cells = <1>; #size-cells = <0>; diff --git a/target/linux/bcm63xx/dts/bcm6368.dtsi b/target/linux/bcm63xx/dts/bcm6368.dtsi index b834f9ef0f..b539020c21 100644 --- a/target/linux/bcm63xx/dts/bcm6368.dtsi +++ b/target/linux/bcm63xx/dts/bcm6368.dtsi @@ -4,6 +4,7 @@ compatible = "brcm,bcm6368"; aliases { + nflash = &nflash; pflash = &pflash; pinctrl = &pinctrl; serial0 = &uart0; @@ -298,6 +299,27 @@ status = "disabled"; }; + nflash: nand@10000200 { + #address-cells = <1>; + #size-cells = <0>; + compatible = "brcm,nand-bcm6368", + "brcm,brcmnand-v2.1", + "brcm,brcmnand"; + reg = <0x10000200 0x180>, + <0x10000600 0x200>, + <0x10000070 0x10>; + reg-names = "nand", + "nand-cache", + "nand-int-base"; + + interrupt-parent = <&periph_intc>; + interrupts = <10>; + + /* clocks = <&clkctl 17>; */ + + status = "disabled"; + }; + lsspi: spi@10000800 { #address-cells = <1>; #size-cells = <0>; |