summaryrefslogtreecommitdiffstats
path: root/kernel/arch/arm/boot/dts/zynq-zc702.dts
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/arm/boot/dts/zynq-zc702.dts')
-rw-r--r--kernel/arch/arm/boot/dts/zynq-zc702.dts31
1 files changed, 30 insertions, 1 deletions
diff --git a/kernel/arch/arm/boot/dts/zynq-zc702.dts b/kernel/arch/arm/boot/dts/zynq-zc702.dts
index 1fc1d3911..5df8f81f4 100644
--- a/kernel/arch/arm/boot/dts/zynq-zc702.dts
+++ b/kernel/arch/arm/boot/dts/zynq-zc702.dts
@@ -30,7 +30,29 @@
};
chosen {
- bootargs = "console=ttyPS0,115200 earlyprintk";
+ bootargs = "earlyprintk";
+ stdout-path = "serial0:115200n8";
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ autorepeat;
+ sw14 {
+ label = "sw14";
+ gpios = <&gpio0 12 0>;
+ linux,code = <108>; /* down */
+ gpio-key,wakeup;
+ autorepeat;
+ };
+ sw13 {
+ label = "sw13";
+ gpios = <&gpio0 14 0>;
+ linux,code = <103>; /* up */
+ gpio-key,wakeup;
+ autorepeat;
+ };
};
leds {
@@ -49,6 +71,13 @@
};
};
+&amba {
+ ocm: sram@fffc0000 {
+ compatible = "mmio-sram";
+ reg = <0xfffc0000 0x10000>;
+ };
+};
+
&can0 {
status = "okay";
pinctrl-names = "default";