kernel: m25p80: allow fallback from spi_flash_read to regular SPI transfer
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm963269bhr.dts
index 84f655490f2984f74d7f3e37c092edcf0d2b2c1b..4caca94f7f202a4990b2a2b23ea232d549ecbba7 100644 (file)
@@ -1,11 +1,18 @@
 /dts-v1/;
 
-/include/ "bcm63268.dtsi"
+#include "bcm63268.dtsi"
+
+#include <dt-bindings/input/input.h>
 
 / {
        model = "Broadcom BCM963269BHR reference board";
        compatible = "brcm,bcm963269bhr", "brcm,bcm63268";
 
+       chosen {
+               bootargs = "rootfstype=squashfs,jffs2 noinitrd console=ttyS0,115200";
+               stdout-path = "serial0:115200n8";
+       };
+
        gpio-keys-polled {
                compatible = "gpio-keys-polled";
                #address-cells = <1>;
@@ -15,8 +22,8 @@
 
                reset {
                        label = "reset";
-                       gpios = <&gpio1 0 0>;
-                       linux,code = <0x198>;
+                       gpios = <&pinctrl 32 0>;
+                       linux,code = <KEY_RESTART>;
                };
         };
 
                compatible = "gpio-leds";
 
                usb1 {
-                       label = "963629BHR:green:usb1";
-                       gpios = <&gpio0 9 1>;
+                       label = "963269BHR:green:usb1";
+                       gpios = <&pinctrl 9 1>;
                };
 
-               usb12 {
-                       label = "963629BHR:green:usb1";
-                       gpios = <&gpio0 9 1>;
+               usb2 {
+                       label = "963269BHR:green:usb2";
+                       gpios = <&pinctrl 10 1>;
+               };
+       };
+};
+
+&hsspi {
+       status = "ok";
+
+       flash@0 {
+               compatible = "jedec,spi-nor";
+               spi-max-frequency = <20000000>;
+               spi-tx-bus-width = <2>;
+               spi-rx-bus-width = <2>;
+               reg = <0>;
+
+               #address-cells = <1>;
+               #size-cells = <1>;
+
+               linux,part-probe = "bcm63xxpart";
+
+               partitions {
+                       compatible = "brcm,bcm963xx-cfe-nor-partitions";
                };
        };
 };
+
+&uart0 {
+       status = "ok";
+};