| 1 |
// SPDX-License-Identifier: GPL-2.0 |
| 2 |
/* |
| 3 |
* Samsung's ExynosAutov920 SADK board device tree source |
| 4 |
* |
| 5 |
* Copyright (c) 2023 Samsung Electronics Co., Ltd. |
| 6 |
* |
| 7 |
*/ |
| 8 |
|
| 9 |
/dts-v1/; |
| 10 |
#include "exynosautov920.dtsi" |
| 11 |
#include "exynos-pinctrl.h" |
| 12 |
#include <dt-bindings/gpio/gpio.h> |
| 13 |
#include <dt-bindings/input/input.h> |
| 14 |
|
| 15 |
/ { |
| 16 |
model = "Samsung ExynosAutov920 SADK board"; |
| 17 |
compatible = "samsung,exynosautov920-sadk", "samsung,exynosautov920"; |
| 18 |
|
| 19 |
#address-cells = <2>; |
| 20 |
#size-cells = <2>; |
| 21 |
|
| 22 |
aliases { |
| 23 |
serial0 = &serial_0; |
| 24 |
}; |
| 25 |
|
| 26 |
chosen { |
| 27 |
stdout-path = &serial_0; |
| 28 |
}; |
| 29 |
|
| 30 |
gpio-keys { |
| 31 |
compatible = "gpio-keys"; |
| 32 |
pinctrl-names = "default"; |
| 33 |
pinctrl-0 = <&key_wakeup &key_back>; |
| 34 |
|
| 35 |
key-wakeup { |
| 36 |
label = "KEY_WAKEUP"; |
| 37 |
linux,code = <KEY_WAKEUP>; |
| 38 |
gpios = <&gpa0 0 GPIO_ACTIVE_LOW>; |
| 39 |
wakeup-source; |
| 40 |
}; |
| 41 |
|
| 42 |
key-back { |
| 43 |
label = "KEY_BACK"; |
| 44 |
linux,code = <KEY_BACK>; |
| 45 |
gpios = <&gpp6 3 GPIO_ACTIVE_LOW>; |
| 46 |
}; |
| 47 |
}; |
| 48 |
|
| 49 |
memory@80000000 { |
| 50 |
device_type = "memory"; |
| 51 |
reg = <0x0 0x80000000 0x0 0x70000000>, |
| 52 |
<0x8 0x80000000 0x1 0xfba00000>, |
| 53 |
<0xa 0x00000000 0x2 0x00000000>; |
| 54 |
}; |
| 55 |
}; |
| 56 |
|
| 57 |
&pinctrl_alive { |
| 58 |
key_wakeup: key-wakeup-pins { |
| 59 |
samsung,pins = "gpa0-0"; |
| 60 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 61 |
}; |
| 62 |
}; |
| 63 |
|
| 64 |
&pinctrl_peric1 { |
| 65 |
key_back: key-back-pins { |
| 66 |
samsung,pins = "gpp6-3"; |
| 67 |
samsung,pin-function = <EXYNOS_PIN_FUNC_EINT>; |
| 68 |
}; |
| 69 |
}; |
| 70 |
|
| 71 |
&pwm { |
| 72 |
pinctrl-names = "default"; |
| 73 |
pinctrl-0 = <&pwm_tout0>; |
| 74 |
status = "okay"; |
| 75 |
}; |
| 76 |
|
| 77 |
&serial_0 { |
| 78 |
status = "okay"; |
| 79 |
}; |
| 80 |
|
| 81 |
&usi_0 { |
| 82 |
samsung,clkreq-on; /* needed for UART mode */ |
| 83 |
status = "okay"; |
| 84 |
}; |
| 85 |
|
| 86 |
&xtcxo { |
| 87 |
clock-frequency = <38400000>; |
| 88 |
}; |