| /OK3568_Linux_fs/u-boot/tools/binman/ |
| H A D | func_test.py | 5 # SPDX-License-Identifier: GPL-2.0+ 9 # python -m unittest func_test.TestFunctional.testHelp 45 Most of these use a sample .dts file to build an image and then check 53 In some cases a 'real' file must be used - these are also supplied in 66 TestFunctional._MakeInputFile('u-boot.bin', U_BOOT_DATA) 67 TestFunctional._MakeInputFile('u-boot.img', U_BOOT_IMG_DATA) 68 TestFunctional._MakeInputFile('spl/u-boot-spl.bin', U_BOOT_SPL_DATA) 72 TestFunctional._MakeInputFile('u-boot.dtb', U_BOOT_DTB_DATA) 73 TestFunctional._MakeInputFile('u-boot-x86-16bit.bin', X86_START16_DATA) 74 TestFunctional._MakeInputFile('u-boot-nodtb.bin', U_BOOT_NODTB_DATA) [all …]
|
| H A D | fdt_test.py | 5 # SPDX-License-Identifier: GPL-2.0+ 33 node = dt.GetNode('/microcode/update@0') 34 node.DeleteProp('data') 37 fname = self.GetCompiled('34_x86_ucode.dts') 42 fname = self.GetCompiled('45_prop_test.dts') 44 node = dt.GetNode('/binman/intel-me') 45 self.assertEquals('intel-me', node.name) 46 val = fdt_util.GetString(node, 'filename') 50 prop = node.props['intval'] 52 self.assertEquals(3, fdt_util.GetInt(node, 'intval')) [all …]
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel5.10/ |
| H A D | kernel_dts.diff | 2 From: David Wu <david.wu@rock-chips.com> 4 Subject: [PATCH] arm64: dts: rockchip: rk3568: Add stmmac uio nodes 6 Signed-off-by: David Wu <david.wu@rock-chips.com> 7 Change-Id: I6a7d4c1000b9ed604042b5dc5d32c9cddb4ad433 8 --- 10 diff --git a/arch/arm64/boot/dts/rockchip/rk3566.dtsi b/arch/arm64/boot/dts/rockchip/rk3566.dtsi 12 --- a/arch/arm64/boot/dts/rockchip/rk3566.dtsi 13 +++ b/arch/arm64/boot/dts/rockchip/rk3566.dtsi 14 @@ -54,6 +54,7 @@ 15 /delete-node/ &gmac0_clkin; [all …]
|
| /OK3568_Linux_fs/external/dpdk/gmac/kernel4.19/ |
| H A D | kernel_dts.diff | 2 From: David Wu <david.wu@rock-chips.com> 4 Subject: [PATCH] arm64: dts: rockchip: rk3568: Add stmmac uio nodes 6 Signed-off-by: David Wu <david.wu@rock-chips.com> 7 Change-Id: I6a7d4c1000b9ed604042b5dc5d32c9cddb4ad433 8 --- 10 diff --git a/arch/arm64/boot/dts/rockchip/rk3566.dtsi b/arch/arm64/boot/dts/rockchip/rk3566.dtsi 12 --- a/arch/arm64/boot/dts/rockchip/rk3566.dtsi 13 +++ b/arch/arm64/boot/dts/rockchip/rk3566.dtsi 14 @@ -54,6 +54,7 @@ 15 /delete-node/ &gmac0_clkin; [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/ |
| H A D | overlay-notes.rst | 1 .. SPDX-License-Identifier: GPL-2.0 7 This document describes the implementation of the in-kernel 9 companion document to Documentation/devicetree/dynamic-resolution-notes.rst[1] 12 ----------------- 17 Since the kernel mainly deals with devices, any new device node that result 18 in an active device should have it created while if the device node is either 23 ---- foo.dts --------------------------------------------------------------- 25 /dts-v1/; 39 ---- foo.dts --------------------------------------------------------------- 41 The overlay bar.dts, [all …]
|
| H A D | of_unittest.rst | 1 .. SPDX-License-Identifier: GPL-2.0 18 (1) Documentation/devicetree/usage-model.rst 27 2. Test-data 30 The Device Tree Source file (drivers/of/unittest-data/testcases.dts) contains 33 (.dtsi) are included in testcases.dts:: 35 drivers/of/unittest-data/tests-interrupts.dtsi 36 drivers/of/unittest-data/tests-platform.dtsi 37 drivers/of/unittest-data/tests-phandle.dtsi 38 drivers/of/unittest-data/tests-match.dtsi 43 $(obj)/%.dtb: $(src)/%.dts FORCE [all …]
|
| /OK3568_Linux_fs/u-boot/tools/dtoc/ |
| H A D | fdt_util.py | 6 # SPDX-License-Identifier: GPL-2.0+ 21 Value to convert (4-character string representing the cell value) 24 A native-endian integer value 28 val = val.decode('utf-8') 36 Value to convert (array of one or more 4-character strings) 39 A native-endian long value 49 """Compile an fdt .dts source file into a .dtb binary blob if needed. 52 fname: Filename (if .dts it will be compiled). It not it will be 59 if ext != '.dts': 62 dts_input = tools.GetOutputFilename('source.dts') [all …]
|
| H A D | test_dtoc.py | 4 # SPDX-License-Identifier: GPL-2.0+ 46 #include <dt-structs.h> 51 """Compile a .dts file to a .dtb 54 dts_fname: Filename of .dts file in the current directory 76 conv_name_to_c('vendor,clock-frequency')) 78 conv_name_to_c('rockchip,rk3399-sdhci-5.1')) 103 Node = collections.namedtuple('Node', ['props']) 105 prop = Prop(['rockchip,rk3399-sdhci-5.1', 'arasan,sdhci-5.1']) 106 node = Node({'compatible': prop}) 108 get_compat_name(node)) [all …]
|
| /OK3568_Linux_fs/buildroot/board/orangepi/orangepi-zero/patches/linux/ |
| H A D | 0001-ARM-dts-orange-pi-zero-interrupt-triggering-xr819.patch | 4 Subject: [PATCH 1/3] ARM: dts: orange-pi-zero: specify XR819 WiFi chip 7 The orange-pi-zero board has Allwinner XR819 SDIO wifi chip. The board 8 dts file provides a node enabling mmc1 controller. Together with an 9 out-of-tree driver https://github.com/fifteenhex/xradio this node 14 Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> 15 --- 16 arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts | 3 +++ 19 diff --git a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts b/arch/arm/boot/dts/sun8i-h2-plus-or… 21 --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts 22 +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-zero.dts [all …]
|
| /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/ |
| H A D | fsl,mxs-pinctrl.txt | 6 voltage and pull-up. 9 - compatible: "fsl,imx23-pinctrl" or "fsl,imx28-pinctrl" 10 - reg: Should contain the register physical address and length for the 13 Please refer to pinctrl-bindings.txt in this directory for details of the 16 The node of mxs pin controller acts as a container for an arbitrary number of 20 information about pull-up. For this reason, even seemingly boolean values are 25 Those subnodes under mxs pin controller node will fall into two categories. 27 configurations, and it's called group node in the binding document. The other 29 different configuration than what is defined in group node. The binding 30 document calls this type of node config node. [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/input/ |
| H A D | rockchip_ir.c | 4 * SPDX-License-Identifier: GPL-2.0+ 14 #include <irq-generic.h> 15 #include <irq-platform.h> 32 return priv->keycode; in rockchip_ir_get_keycode() 39 return priv->repeat; in rockchip_ir_get_repeat() 48 for (i = 0; i < priv->num; i++) { in ir_lookup_by_scancode() 52 for (j = 0; i < priv->num && j < rc_map[i].nbuttons; j++) { in ir_lookup_by_scancode() 54 if (priv->keycode == rc_map[i].scan[j].keycode) in ir_lookup_by_scancode() 55 priv->repeat++; in ir_lookup_by_scancode() 57 priv->repeat = 0; in ir_lookup_by_scancode() [all …]
|
| /OK3568_Linux_fs/kernel/arch/mips/netlogic/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 bool "Built-in device tree for XLP EVP boards" 12 pointer to the kernel. The corresponding DTS file is at 13 arch/mips/netlogic/dts/xlp_evp.dts 16 bool "Built-in device tree for XLP SVP boards" 22 pointer to the kernel. The corresponding DTS file is at 23 arch/mips/netlogic/dts/xlp_svp.dts 26 bool "Built-in device tree for XLP FVP boards" 32 pointer to the kernel. The corresponding DTS file is at 33 arch/mips/netlogic/dts/xlp_fvp.dts [all …]
|
| /OK3568_Linux_fs/kernel/scripts/dtc/ |
| H A D | dtc.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 45 extern int auto_label_aliases; /* auto generate labels -> aliases */ 46 extern int annotate; /* annotate .dts with input source location */ 90 #define ALIGN(x, a) (((x) + (a) - 1) & ~((a) - 1)) 123 for (; (m); (m) = (m)->next) 126 if ((m)->type == (t)) 181 struct node { struct 185 struct node *children; argument 187 struct node *parent; argument 188 struct node *next_sibling; argument [all …]
|
| H A D | dtc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 22 int auto_label_aliases; /* auto generate labels -> aliases */ 28 return (x > 0) && ((x & (x - 1)) == 0); in is_power_of_2() 31 static void fill_fullpaths(struct node *tree, const char *prefix) in fill_fullpaths() 33 struct node *child; in fill_fullpaths() 36 tree->fullpath = join_path(prefix, tree->name); in fill_fullpaths() 38 unit = strchr(tree->name, '@'); in fill_fullpaths() 40 tree->basenamelen = unit - tree->name; in fill_fullpaths() 42 tree->basenamelen = strlen(tree->name); in fill_fullpaths() 45 fill_fullpaths(child, tree->fullpath); in fill_fullpaths() [all …]
|
| H A D | dt_to_config | 2 # SPDX-License-Identifier: GPL-2.0-only 19 # ----- constants for print_flags() 21 # Position in string $pr_flags. Range of 0..($num_pr_flags - 1). 39 # expessions to work for --include_flags and --exclude_flags. 45 "multiple compatibles found for this node", 50 "node is not enabled", 61 # ----- 70 # ----- magic compatibles, do not have a driver 77 'simple-bus' => '1', 94 'gpio-keys' => ['drivers/input/keyboard/gpio_keys.c'], [all …]
|
| /OK3568_Linux_fs/u-boot/drivers/pci/ |
| H A D | pcie_layerscape_fixup.c | 3 * Copyright 2014-2015 Freescale Semiconductor, Inc. 6 * SPDX-License-Identifier: GPL-2.0+ 28 if (pcie->next_lut_index < PCIE_LUT_ENTRY_COUNT) in ls_pcie_next_lut_index() 29 return pcie->next_lut_index++; in ls_pcie_next_lut_index() 31 return -ENOSPC; /* LUT is full */ in ls_pcie_next_lut_index() 34 /* returns the next available streamid for pcie, -errno if failed */ 40 return -EINVAL; in ls_pcie_next_streamid() 48 if (pcie->big_endian) in lut_writel() 49 out_be32(pcie->lut + offset, value); in lut_writel() 51 out_le32(pcie->lut + offset, value); in lut_writel() [all …]
|
| /OK3568_Linux_fs/u-boot/include/dm/ |
| H A D | pinctrl.h | 4 * SPDX-License-Identifier: GPL-2.0+ 11 * struct pinconf_param - pin config parameters 25 * struct pinctrl_ops - pin control operations, to be implemented by 35 * in this driver. (necessary to parse "pins" property in DTS) 38 * operations to. (necessary to parse "pins" property in DTS) 40 * in this driver. (necessary to parse "groups" property in DTS) 43 * operations to. (necessary to parse "groups" property in DTS) 45 * in this driver. (necessary for pin-muxing) 48 * certain device to. (necessary for pin-muxing) 52 * may be ignored. (necessary for pin-muxing against a single pin) [all …]
|
| /OK3568_Linux_fs/buildroot/board/nezha/patches/uboot/ |
| H A D | 0001-arch-riscv-dts-sun20i-d1.dtsi-adjust-plic-compatible.patch | 4 Subject: [PATCH] arch/riscv/dts/sun20i-d1.dtsi: adjust plic compatible to 7 The T-HEAD PLIC is by default not accessible from S-mode, and access must be 10 The DTB is used both by U-Boot and opensbi (but the PLIC node is ignored by 11 U-Boot), so change the compatible to match what opensbi expects to fix a 14 https://github.com/riscv-software-src/opensbi/commit/78c2b19218bd 16 Signed-off-by: Peter Korsgaard <peter@korsgaard.com> 17 --- 18 arch/riscv/dts/sun20i-d1.dtsi | 2 +- 19 1 file changed, 1 insertion(+), 1 deletion(-) 21 diff --git a/arch/riscv/dts/sun20i-d1.dtsi b/arch/riscv/dts/sun20i-d1.dtsi [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm/boot/dts/ |
| H A D | rv1106g-evb1-v11-dual-cam.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106g-evb1-v10-dual-cam.dts" 12 compatible = "rockchip,rv1106g-evb1-v11-dual-cam", "rockchip,rv1106"; 14 /delete-node/ vcc5v0-usb; 18 /delete-node/ usb; 25 compatible = "spi-nand"; 27 spi-max-frequency = <75000000>; 28 spi-rx-bus-width = <4>; 29 spi-tx-bus-width = <1>; [all …]
|
| H A D | rv1106g-evb1-v11.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 6 /dts-v1/; 8 #include "rv1106g-evb1-v10.dts" 12 compatible = "rockchip,rv1106g-evb1-v11", "rockchip,rv1106"; 14 /delete-node/ vcc5v0-usb; 18 /delete-node/ usb; 25 compatible = "spi-nand"; 27 spi-max-frequency = <75000000>; 28 spi-rx-bus-width = <4>; 29 spi-tx-bus-width = <1>; [all …]
|
| H A D | rk3288-veyron-tiger.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 8 /dts-v1/; 9 #include "rk3288-veyron-fievel.dts" 10 #include "rk3288-veyron-edp.dtsi" 14 compatible = "google,veyron-tiger-rev8", "google,veyron-tiger-rev7", 15 "google,veyron-tiger-rev6", "google,veyron-tiger-rev5", 16 "google,veyron-tiger-rev4", "google,veyron-tiger-rev3", 17 "google,veyron-tiger-rev2", "google,veyron-tiger-rev1", 18 "google,veyron-tiger-rev0", "google,veyron-tiger", 21 /delete-node/ vcc18-lcd; [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/mach-rockchip/ |
| H A D | spl-boot-order.c | 4 * SPDX-License-Identifier: GPL-2.0+ 22 * spl_node_to_boot_device() - maps from a DT-node to a SPL boot device 23 * @node: of_offset of the node 26 * sources. These may take on a device-specific meaning, depending on 27 * what nodes are enabled in a DTS (e.g. BOOT_DEVICE_MMC1 may refer to 28 * different controllers/block-devices, depending on which SD/MMC controllers 29 * are enabled in any given DTS). This function maps from a DT-node back 33 * -ENOENT, if no device matching the node could be found 34 * -ENOSYS, if the device matching the node can not be mapped onto a 36 * -1, for unspecified failures [all …]
|
| /OK3568_Linux_fs/u-boot/arch/arm/dts/ |
| H A D | zynqmp-zcu102-revB.dts | 2 * dts file for Xilinx ZynqMP ZCU102 RevB 8 * SPDX-License-Identifier: GPL-2.0+ 11 #include "zynqmp-zcu102-revA.dts" 18 phy-handle = <&phyc>; 21 ti,rx-internal-delay = <0x8>; 22 ti,tx-internal-delay = <0xa>; 23 ti,fifo-depth = <0x1>; 26 /delete-node/ phy@21; 39 /delete-node/ max15303@20;
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/xilinx/ |
| H A D | zynqmp-zcu102-revB.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP ZCU102 RevB 5 * (C) Copyright 2016 - 2018, Xilinx, Inc. 10 #include "zynqmp-zcu102-revA.dts" 14 compatible = "xlnx,zynqmp-zcu102-revB", "xlnx,zynqmp-zcu102", "xlnx,zynqmp"; 18 phy-handle = <&phyc>; 19 phyc: ethernet-phy@c { 21 ti,rx-internal-delay = <0x8>; 22 ti,tx-internal-delay = <0xa>; 23 ti,fifo-depth = <0x1>; [all …]
|
| /OK3568_Linux_fs/kernel/arch/arm64/boot/dts/hisilicon/ |
| H A D | hip07-d05.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * dts file for Hisilicon D05 Development Board 8 /dts-v1/; 14 compatible = "hisilicon,hip07-d05"; 16 /* the mem node will be updated by UEFI. */ 20 numa-node-id = <0>; 23 distance-map { 24 compatible = "numa-distance-map-v1"; 25 distance-matrix = <0 0 10>, 48 stdout-path = "serial0:115200n8";
|