• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2020 BayLibre SAS. All rights reserved.
4 */
5
6/dts-v1/;
7/plugin/;
8
9#include <dt-bindings/gpio/gpio.h>
10#include <dt-bindings/gpio/meson-g12a-gpio.h>
11#include <dt-bindings/input/input.h>
12#include <dt-bindings/interrupt-controller/irq.h>
13#include <dt-bindings/interrupt-controller/arm-gic.h>
14
15/ {
16  compatible = "seirobotics,sei610", "amlogic,sm1";
17  model = "SEI Robotics SEI610";
18  fragment@101 {
19	target-path = "/";
20	__overlay__ {
21
22		reserved-memory {
23			#address-cells = <2>;
24			#size-cells = <2>;
25			ramoops@d000000 {
26				compatible = "ramoops";
27				reg = <0x0 0x0d000000 0x0 0x00100000>;
28				record-size = <0x8000>;
29				console-size = <0x8000>;
30				ftrace-size = <0x0>;
31				pmsg-size = <0x8000>;
32			};
33		};
34	};
35   };
36};
37
38&vddao_3v3_t {
39	gpio-open-drain;
40};
41
42&emmc_pwrseq {
43	status = "okay";
44};
45
46&sd_emmc_a {
47	/* WiFi firmware requires power to be kept while in suspend */
48	keep-power-in-suspend;
49};
50
51&uart_C {
52        status = "disabled";
53        pinctrl-0 = <&uart_c_pins>;
54        pinctrl-names = "default";
55};
56
57&spicc0 {
58        status = "disabled";
59        pinctrl-names = "default";
60        pinctrl-0 = <&spicc0_x_pins>;
61        cs-gpios = <&gpio GPIOX_10 GPIO_ACTIVE_LOW>;
62        #address-cells = <1>;
63        #size-cells = <0>;
64
65        spidev@0 {
66            compatible = "rohm,dh2228fv";
67            reg = <0>;
68            spi-max-frequency = <500000>;
69            status = "disabled";
70        };
71};
72