dts: intel_s1000: add pinctrl to device tree

Add pinctrl node to Intel S1000 SoC device tree for I/O MUX selection

Signed-off-by: Sathish Kuttan <sathish.k.kuttan@intel.com>
This commit is contained in:
Sathish Kuttan 2018-11-24 21:21:12 -08:00 committed by Anas Nashif
parent 001ad8b6c2
commit 1b1c80256f
3 changed files with 36 additions and 0 deletions

View file

@ -0,0 +1,26 @@
---
# SPDX-License-Identifier: Apache-2.0
title: Intel S1000 Pinmux
version: 0.1
description: >
This is a representation of the Intel S1000 SoC's pinmux node
properties:
compatible:
type: string
category: required
description: compatible strings
constraint: "intel,s1000-pinmux"
generation: define
reg:
type: int
description: mmio register space
generation: define
category: required
"#cells":
- pin
- function
...

View file

@ -97,6 +97,11 @@
#gpio-cells = <2>;
};
pinmux: pinmux@81C30 {
compatible = "intel,s1000-pinmux";
reg = <0x00081C30 0xC>;
};
uart0: uart@80800 {
compatible = "ns16550";
reg = <0x80800 0x400>;

View file

@ -77,4 +77,9 @@
#define CONFIG_GPIO_DW_0_NAME \
DT_SNPS_DESIGNWARE_GPIO_80C00_LABEL
#define DT_PINMUX_BASE_ADDR \
DT_INTEL_S1000_PINMUX_81C30_BASE_ADDRESS
#define DT_PINMUX_CTRL_REG_COUNT \
(DT_INTEL_S1000_PINMUX_81C30_SIZE / 4)
/* End of SoC Level DTS fixup file */