The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/contrib/device-tree/src/riscv/canaan/k210_generic.dts

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 // SPDX-License-Identifier: GPL-2.0+
    2 /*
    3  * Copyright (C) 2019-20 Sean Anderson <seanga2@gmail.com>
    4  * Copyright (C) 2020 Western Digital Corporation or its affiliates.
    5  */
    6 
    7 /dts-v1/;
    8 
    9 #include "k210.dtsi"
   10 
   11 #include <dt-bindings/gpio/gpio.h>
   12 #include <dt-bindings/input/input.h>
   13 
   14 / {
   15         model = "Kendryte K210 generic";
   16         compatible = "canaan,kendryte-k210";
   17 
   18         chosen {
   19                 bootargs = "earlycon console=ttySIF0";
   20                 stdout-path = "serial0:115200n8";
   21         };
   22 };
   23 
   24 &fpioa {
   25         pinctrl-0 = <&jtag_pins>;
   26         pinctrl-names = "default";
   27         status = "okay";
   28 
   29         jtag_pins: jtag-pinmux {
   30                 pinmux = <K210_FPIOA(0, K210_PCF_JTAG_TCLK)>,
   31                          <K210_FPIOA(1, K210_PCF_JTAG_TDI)>,
   32                          <K210_FPIOA(2, K210_PCF_JTAG_TMS)>,
   33                          <K210_FPIOA(3, K210_PCF_JTAG_TDO)>;
   34         };
   35 
   36         uarths_pins: uarths-pinmux {
   37                 pinmux = <K210_FPIOA(4, K210_PCF_UARTHS_RX)>,
   38                          <K210_FPIOA(5, K210_PCF_UARTHS_TX)>;
   39         };
   40 };
   41 
   42 &uarths0 {
   43         pinctrl-0 = <&uarths_pins>;
   44         pinctrl-names = "default";
   45         status = "okay";
   46 };

Cache object: adf2f7a3ae63ac20026559a68e6c80b0


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.