Commit 69f9cdc6 authored by Masahiro Yamada's avatar Masahiro Yamada

ARM: dts: uniphier: add Denali NAND controller node

Add NAND controller node to LD4, Pro4, sLD8, Pro5, and PXs2.
Set up pinctrl to enable 2 chip select lines except Pro4.  The CS1
for Pro4 is multiplexed with other peripherals such as UART2, so
I did not enable it.
Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent ed8bc76b
......@@ -64,3 +64,7 @@ &usb0 {
&usb1 {
status = "okay";
};
&nand {
status = "okay";
};
......@@ -285,6 +285,17 @@ sys_rst: reset {
#reset-cells = <1>;
};
};
nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5a";
status = "disabled";
reg-names = "nand_data", "denali_reg";
reg = <0x68000000 0x20>, <0x68100000 0x1000>;
interrupts = <0 65 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand2cs>;
clocks = <&sys_clk 2>;
};
};
};
......
......@@ -58,3 +58,7 @@ &serial2 {
&i2c0 {
status = "okay";
};
&nand {
status = "okay";
};
......@@ -66,3 +66,7 @@ &usb2 {
&usb3 {
status = "okay";
};
&nand {
status = "okay";
};
......@@ -305,6 +305,17 @@ sys_rst: reset {
#reset-cells = <1>;
};
};
nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5a";
status = "disabled";
reg-names = "nand_data", "denali_reg";
reg = <0x68000000 0x20>, <0x68100000 0x1000>;
interrupts = <0 65 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand>;
clocks = <&sys_clk 2>;
};
};
};
......
......@@ -368,6 +368,17 @@ sys_rst: reset {
#reset-cells = <1>;
};
};
nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5b";
status = "disabled";
reg-names = "nand_data", "denali_reg";
reg = <0x68000000 0x20>, <0x68100000 0x1000>;
interrupts = <0 65 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand2cs>;
clocks = <&sys_clk 2>;
};
};
};
......
......@@ -352,6 +352,17 @@ sys_rst: reset {
#reset-cells = <1>;
};
};
nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5b";
status = "disabled";
reg-names = "nand_data", "denali_reg";
reg = <0x68000000 0x20>, <0x68100000 0x1000>;
interrupts = <0 65 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand2cs>;
clocks = <&sys_clk 2>;
};
};
};
......
......@@ -68,3 +68,7 @@ &usb1 {
&usb2 {
status = "okay";
};
&nand {
status = "okay";
};
......@@ -285,6 +285,17 @@ sys_rst: reset {
#reset-cells = <1>;
};
};
nand: nand@68000000 {
compatible = "socionext,uniphier-denali-nand-v5a";
status = "disabled";
reg-names = "nand_data", "denali_reg";
reg = <0x68000000 0x20>, <0x68100000 0x1000>;
interrupts = <0 65 4>;
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_nand2cs>;
clocks = <&sys_clk 2>;
};
};
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment