blob: 171e0f12e0e72251e13f853418f84ebf7980ee1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
|
/* Copyright 2021 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
/dts-v1/;
#include <cros/nuvoton/npcx9.dtsi>
#include <dt-bindings/gpio_defines.h>
#include <nuvoton/npcx9m3f.dtsi>
/ {
model = "NPCX9";
aliases {
i2c-0 = &i2c0_0;
i2c-1 = &i2c1_0;
i2c-2 = &i2c2_0;
i2c-3 = &i2c3_0;
i2c-5 = &i2c5_0;
i2c-7 = &i2c7_0;
};
chosen {
zephyr,sram = &sram0;
zephyr,console = &uart1;
zephyr,shell-uart = &uart1;
zephyr,flash = &flash0;
zephyr,flash-controller = &int_flash;
};
named-i2c-ports {
compatible = "named-i2c-ports";
};
named-pwms {
compatible = "named-pwms";
};
named-adc-channels {
compatible = "named-adc-channels";
};
def-lvol-io-list {
compatible = "nuvoton,npcx-lvolctrl-def";
};
};
&uart1 {
status = "okay";
current-speed = <115200>;
pinctrl-0 = <&altj_cr_sin1_sl2 &altj_cr_sout1_sl2>;
};
&cros_kb_raw {
status = "okay";
/* No KSO2 (it's inverted and implemented by GPIO) */
pinctrl-0 = <&alt7_no_ksi0_sl
&alt7_no_ksi1_sl
&alt7_no_ksi2_sl
&alt7_no_ksi3_sl
&alt7_no_ksi4_sl
&alt7_no_ksi5_sl
&alt7_no_ksi6_sl
&alt7_no_ksi7_sl
&alt8_no_kso00_sl
&alt8_no_kso01_sl
&alt8_no_kso03_sl
&alt8_no_kso04_sl
&alt8_no_kso05_sl
&alt8_no_kso06_sl
&alt8_no_kso07_sl
&alt9_no_kso08_sl
&alt9_no_kso09_sl
&alt9_no_kso10_sl
&alt9_no_kso11_sl
&alt9_no_kso12_sl
&alt9_no_kso13_sl
&alt9_no_kso14_sl
>;
};
|