|
@@ -29,18 +29,30 @@
|
|
|
|
|
|
&uart0 {
|
|
&uart0 {
|
|
status = "okay";
|
|
status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_uart0>;
|
|
};
|
|
};
|
|
|
|
|
|
&uart1 {
|
|
&uart1 {
|
|
status = "okay";
|
|
status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_uart1>;
|
|
};
|
|
};
|
|
|
|
|
|
&uart3 {
|
|
&uart3 {
|
|
status = "okay";
|
|
status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_uart2>;
|
|
};
|
|
};
|
|
|
|
|
|
&uart4 {
|
|
&uart4 {
|
|
status = "okay";
|
|
status = "okay";
|
|
|
|
+
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_uart4>;
|
|
};
|
|
};
|
|
|
|
|
|
&nemc {
|
|
&nemc {
|
|
@@ -61,6 +73,13 @@
|
|
ingenic,nemc-tAW = <15>;
|
|
ingenic,nemc-tAW = <15>;
|
|
ingenic,nemc-tSTRV = <100>;
|
|
ingenic,nemc-tSTRV = <100>;
|
|
|
|
|
|
|
|
+ /*
|
|
|
|
+ * Only CLE/ALE are needed for the devices that are connected, rather
|
|
|
|
+ * than the full address line set.
|
|
|
|
+ */
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_nemc>;
|
|
|
|
+
|
|
nand@1 {
|
|
nand@1 {
|
|
reg = <1>;
|
|
reg = <1>;
|
|
|
|
|
|
@@ -69,6 +88,9 @@
|
|
nand-ecc-mode = "hw";
|
|
nand-ecc-mode = "hw";
|
|
nand-on-flash-bbt;
|
|
nand-on-flash-bbt;
|
|
|
|
|
|
|
|
+ pinctrl-names = "default";
|
|
|
|
+ pinctrl-0 = <&pins_nemc_cs1>;
|
|
|
|
+
|
|
partitions {
|
|
partitions {
|
|
compatible = "fixed-partitions";
|
|
compatible = "fixed-partitions";
|
|
#address-cells = <2>;
|
|
#address-cells = <2>;
|
|
@@ -106,3 +128,41 @@
|
|
&bch {
|
|
&bch {
|
|
status = "okay";
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
+
|
|
|
|
+&pinctrl {
|
|
|
|
+ pins_uart0: uart0 {
|
|
|
|
+ function = "uart0";
|
|
|
|
+ groups = "uart0-data";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pins_uart1: uart1 {
|
|
|
|
+ function = "uart1";
|
|
|
|
+ groups = "uart1-data";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pins_uart2: uart2 {
|
|
|
|
+ function = "uart2";
|
|
|
|
+ groups = "uart2-data", "uart2-hwflow";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pins_uart4: uart4 {
|
|
|
|
+ function = "uart4";
|
|
|
|
+ groups = "uart4-data";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pins_nemc: nemc {
|
|
|
|
+ function = "nemc";
|
|
|
|
+ groups = "nemc-data", "nemc-cle-ale", "nemc-rd-we", "nemc-frd-fwe";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+
|
|
|
|
+ pins_nemc_cs1: nemc-cs1 {
|
|
|
|
+ function = "nemc-cs1";
|
|
|
|
+ groups = "nemc-cs1";
|
|
|
|
+ bias-disable;
|
|
|
|
+ };
|
|
|
|
+};
|