lantiq,open-drain = <1>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs1";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&gsw {
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
flash@1 {
compatible = "jedec,spi-nor";
lantiq,pull = <0>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&gsw {
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
lantiq,gphy-mode = <GPHY_MODE_FE>;
};
-&gpio {
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk", "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
-};
-
&pcie0 {
status = "disabled";
};
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
lantiq,pull = <2>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&spi {
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
status = "okay";
flash@4 {
lantiq,output = <1>;
};
};
-
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
-
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&pcie0 {
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
label = "fritz7362sl:green:dect";
};
-&gpio {
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
-
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
-};
-
&state_default {
nand {
lantiq,groups = "nand ale", "nand cle",
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
flash@4 {
#address-cells = <1>;
lantiq,output = <1>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&pcie0 {
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
lantiq,output = <1>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&pci0 {
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
lantiq,output = <1>;
};
};
- pins_spi_default: pins_spi_default {
- spi_in {
- lantiq,groups = "spi_di";
- lantiq,function = "spi";
- };
- spi_out {
- lantiq,groups = "spi_do", "spi_clk",
- "spi_cs4";
- lantiq,function = "spi";
- lantiq,output = <1>;
- };
- };
};
&spi {
status = "okay";
- pinctrl-names = "default";
- pinctrl-0 = <&pins_spi_default>;
-
flash@4 {
compatible = "jedec,spi-nor";
reg = <4>;
"spi_frm";
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>, <&spi_cs4_pins>;
status = "disabled";
};
lantiq,function = "mdio";
};
};
+
+ spi_pins: spi {
+ mux-0 {
+ lantiq,groups = "spi_di";
+ lantiq,function = "spi";
+ };
+ mux-1 {
+ lantiq,groups = "spi_do", "spi_clk";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
+
+ spi_cs4_pins: spi-cs4 {
+ mux {
+ lantiq,groups = "spi_cs4";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
};
asc1: serial@e100c00 {
"spi_frm";
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>, <&spi_cs4_pins>;
status = "disabled";
};
lantiq,function = "mdio";
};
};
+
+ spi_pins: spi {
+ mux-0 {
+ lantiq,groups = "spi_di";
+ lantiq,function = "spi";
+ };
+ mux-1 {
+ lantiq,groups = "spi_do", "spi_clk";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
+
+ spi_cs4_pins: spi-cs4 {
+ mux {
+ lantiq,groups = "spi_cs4";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
};
stp: stp@e100bb0 {
"spi_frm";
#address-cells = <1>;
#size-cells = <0>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&spi_pins>, <&spi_cs4_pins>;
status = "disabled";
};
lantiq,function = "mdio";
};
};
+
+ spi_pins: spi {
+ mux-0 {
+ lantiq,groups = "spi_di";
+ lantiq,function = "spi";
+ };
+ mux-1 {
+ lantiq,groups = "spi_do", "spi_clk";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
+
+ spi_cs4_pins: spi-cs4 {
+ mux {
+ lantiq,groups = "spi_cs4";
+ lantiq,function = "spi";
+ lantiq,output = <1>;
+ };
+ };
};
stp: stp@e100bb0 {