1 // SPDX-License-Identifier: (GPL-2.0+ OR X11)
3 * Copyright 2020 Paul Kocialkowski <contact@paulk.fr>
8 #include "sun8i-v3.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
14 model = "SL631 Action Camera";
15 compatible = "allwinner,sl631", "allwinner,sun8i-v3";
22 stdout-path = "serial0:115200n8";
31 interrupt-parent = <&nmi_intc>;
32 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
37 pinctrl-names = "default";
38 pinctrl-0 = <&i2c1_pb_pins>;
43 vref-supply = <®_ldo2>;
48 linux,code = <KEY_DOWN>;
55 linux,code = <KEY_UP>;
62 linux,code = <KEY_OK>;
69 cd-gpios = <&pio 5 6 GPIO_ACTIVE_LOW>; /* PF6 */
71 vmmc-supply = <®_dcdc3>;
76 vcc-pd-supply = <®_dcdc3>;
77 vcc-pe-supply = <®_dcdc3>;
80 #include "axp209.dtsi"
86 &battery_power_supply {
92 regulator-min-microvolt = <1250000>;
93 regulator-max-microvolt = <1250000>;
94 regulator-name = "vdd-sys-cpu";
99 regulator-min-microvolt = <3300000>;
100 regulator-max-microvolt = <3300000>;
101 regulator-name = "vdd-3v3";
105 regulator-name = "vdd-rtc";
110 regulator-min-microvolt = <3000000>;
111 regulator-max-microvolt = <3000000>;
112 regulator-name = "avcc";
120 compatible = "jedec,spi-nor";
121 spi-max-frequency = <50000000>;
126 pinctrl-0 = <&uart1_pg_pins>;
127 pinctrl-names = "default";
132 dr_mode = "peripheral";