Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'zynq-dt-for-v5.10' of https://github.com/Xilinx/linux-xlnx into arm/dt

ARM: dts: zynq: DT changes for v5.11

- Adding support for Zturn-v5
- Small DT changes to clean errors from dt_binding_check

* tag 'zynq-dt-for-v5.10' of https://github.com/Xilinx/linux-xlnx:
ARM: zynq: Fix incorrect reference to XM013 instead of XM011
ARM: zynq: Convert at25 binding to new description on zc770-xm013
ARM: zynq: Fix OCM mapping to be aligned with binding on zc702
ARM: zynq: Fix leds subnode name for zc702/zybo-z7
ARM: zynq: Rename bus to be align with simple-bus yaml
ARM: zynq: Fix compatible string for adi,adxl345 chip
ARM: zynq: Add Z-turn board V5

+142 -108
+1
arch/arm/boot/dts/Makefile
··· 1317 1317 zynq-zc770-xm013.dtb \ 1318 1318 zynq-zed.dtb \ 1319 1319 zynq-zturn.dtb \ 1320 + zynq-zturn-v5.dtb \ 1320 1321 zynq-zybo.dtb \ 1321 1322 zynq-zybo-z7.dtb 1322 1323 dtb-$(CONFIG_MACH_ARMADA_370) += \
+1 -1
arch/arm/boot/dts/zynq-7000.dtsi
··· 92 92 }; 93 93 }; 94 94 95 - amba: amba { 95 + amba: axi { 96 96 compatible = "simple-bus"; 97 97 #address-cells = <1>; 98 98 #size-cells = <1>;
+7 -1
arch/arm/boot/dts/zynq-zc702.dts
··· 49 49 leds { 50 50 compatible = "gpio-leds"; 51 51 52 - ds23 { 52 + led-ds23 { 53 53 label = "ds23"; 54 54 gpios = <&gpio0 10 0>; 55 55 linux,default-trigger = "heartbeat"; ··· 66 66 ocm: sram@fffc0000 { 67 67 compatible = "mmio-sram"; 68 68 reg = <0xfffc0000 0x10000>; 69 + #address-cells = <1>; 70 + #size-cells = <1>; 71 + ranges = <0 0xfffc0000 0x10000>; 72 + ocm-sram@0 { 73 + reg = <0x0 0x10000>; 74 + }; 69 75 }; 70 76 }; 71 77
+1 -1
arch/arm/boot/dts/zynq-zc770-xm011.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0+ 2 2 /* 3 - * Xilinx ZC770 XM013 board DTS 3 + * Xilinx ZC770 XM011 board DTS 4 4 * 5 5 * Copyright (C) 2013-2018 Xilinx, Inc. 6 6 */
+3 -4
arch/arm/boot/dts/zynq-zc770-xm013.dts
··· 63 63 num-cs = <4>; 64 64 is-decoded-cs = <0>; 65 65 eeprom: eeprom@2 { 66 - at25,byte-len = <8192>; 67 - at25,addr-mode = <2>; 68 - at25,page-size = <32>; 69 - 70 66 compatible = "atmel,at25"; 71 67 reg = <2>; 72 68 spi-max-frequency = <1000000>; 69 + size = <8192>; 70 + address-width = <16>; 71 + pagesize = <32>; 73 72 }; 74 73 }; 75 74
+112
arch/arm/boot/dts/zynq-zturn-common.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + /* 3 + * Copyright (C) 2015 Andrea Merello <adnrea.merello@gmail.com> 4 + * Copyright (C) 2017 Alexander Graf <agraf@suse.de> 5 + * 6 + * Based on zynq-zed.dts which is: 7 + * Copyright (C) 2011 - 2014 Xilinx 8 + * Copyright (C) 2012 National Instruments Corp. 9 + * 10 + */ 11 + 12 + /dts-v1/; 13 + /include/ "zynq-7000.dtsi" 14 + 15 + / { 16 + compatible = "xlnx,zynq-7000"; 17 + 18 + aliases { 19 + ethernet0 = &gem0; 20 + serial0 = &uart1; 21 + serial1 = &uart0; 22 + mmc0 = &sdhci0; 23 + }; 24 + 25 + memory@0 { 26 + device_type = "memory"; 27 + reg = <0x0 0x40000000>; 28 + }; 29 + 30 + chosen { 31 + stdout-path = "serial0:115200n8"; 32 + }; 33 + 34 + gpio-leds { 35 + compatible = "gpio-leds"; 36 + usr-led1 { 37 + label = "usr-led1"; 38 + gpios = <&gpio0 0x0 0x1>; 39 + default-state = "off"; 40 + }; 41 + 42 + usr-led2 { 43 + label = "usr-led2"; 44 + gpios = <&gpio0 0x9 0x1>; 45 + default-state = "off"; 46 + }; 47 + }; 48 + 49 + gpio-keys { 50 + compatible = "gpio-keys"; 51 + autorepeat; 52 + K1 { 53 + label = "K1"; 54 + gpios = <&gpio0 0x32 0x1>; 55 + linux,code = <0x66>; 56 + wakeup-source; 57 + autorepeat; 58 + }; 59 + }; 60 + }; 61 + 62 + &clkc { 63 + ps-clk-frequency = <33333333>; 64 + }; 65 + 66 + &gem0 { 67 + status = "okay"; 68 + phy-mode = "rgmii-id"; 69 + phy-handle = <&ethernet_phy>; 70 + 71 + ethernet_phy: ethernet-phy@0 { 72 + }; 73 + }; 74 + 75 + &sdhci0 { 76 + status = "okay"; 77 + }; 78 + 79 + &uart0 { 80 + status = "okay"; 81 + }; 82 + 83 + &uart1 { 84 + status = "okay"; 85 + }; 86 + 87 + &usb0 { 88 + status = "okay"; 89 + dr_mode = "host"; 90 + }; 91 + 92 + &can0 { 93 + status = "okay"; 94 + }; 95 + 96 + &i2c0 { 97 + status = "okay"; 98 + clock-frequency = <400000>; 99 + 100 + stlm75@49 { 101 + status = "okay"; 102 + compatible = "lm75"; 103 + reg = <0x49>; 104 + }; 105 + 106 + accelerometer@53 { 107 + compatible = "adi,adxl345"; 108 + reg = <0x53>; 109 + interrupt-parent = <&intc>; 110 + interrupts = <0x0 0x1e 0x4>; 111 + }; 112 + };
+15
arch/arm/boot/dts/zynq-zturn-v5.dts
··· 1 + // SPDX-License-Identifier: GPL-2.0 2 + 3 + /dts-v1/; 4 + /include/ "zynq-zturn-common.dtsi" 5 + 6 + / { 7 + model = "Zynq Z-Turn MYIR Board V5"; 8 + compatible = "myir,zynq-zturn-v5", "xlnx,zynq-7000"; 9 + }; 10 + 11 + &gem0 { 12 + ethernet_phy: ethernet-phy@0 { 13 + reg = <0x3>; 14 + }; 15 + };
+1 -100
arch/arm/boot/dts/zynq-zturn.dts
··· 1 1 // SPDX-License-Identifier: GPL-2.0 2 - /* 3 - * Copyright (C) 2015 Andrea Merello <adnrea.merello@gmail.com> 4 - * Copyright (C) 2017 Alexander Graf <agraf@suse.de> 5 - * 6 - * Based on zynq-zed.dts which is: 7 - * Copyright (C) 2011 - 2014 Xilinx 8 - * Copyright (C) 2012 National Instruments Corp. 9 - * 10 - */ 11 2 12 3 /dts-v1/; 13 - /include/ "zynq-7000.dtsi" 4 + /include/ "zynq-zturn-common.dtsi" 14 5 15 6 / { 16 7 model = "Zynq Z-Turn MYIR Board"; 17 8 compatible = "myir,zynq-zturn", "xlnx,zynq-7000"; 18 - 19 - aliases { 20 - ethernet0 = &gem0; 21 - serial0 = &uart1; 22 - serial1 = &uart0; 23 - mmc0 = &sdhci0; 24 - }; 25 - 26 - memory@0 { 27 - device_type = "memory"; 28 - reg = <0x0 0x40000000>; 29 - }; 30 - 31 - chosen { 32 - stdout-path = "serial0:115200n8"; 33 - }; 34 - 35 - gpio-leds { 36 - compatible = "gpio-leds"; 37 - usr-led1 { 38 - label = "usr-led1"; 39 - gpios = <&gpio0 0x0 0x1>; 40 - default-state = "off"; 41 - }; 42 - 43 - usr-led2 { 44 - label = "usr-led2"; 45 - gpios = <&gpio0 0x9 0x1>; 46 - default-state = "off"; 47 - }; 48 - }; 49 - 50 - gpio-keys { 51 - compatible = "gpio-keys"; 52 - autorepeat; 53 - K1 { 54 - label = "K1"; 55 - gpios = <&gpio0 0x32 0x1>; 56 - linux,code = <0x66>; 57 - wakeup-source; 58 - autorepeat; 59 - }; 60 - }; 61 - }; 62 - 63 - &clkc { 64 - ps-clk-frequency = <33333333>; 65 9 }; 66 10 67 11 &gem0 { 68 - status = "okay"; 69 - phy-mode = "rgmii-id"; 70 - phy-handle = <&ethernet_phy>; 71 - 72 12 ethernet_phy: ethernet-phy@0 { 73 13 reg = <0x0>; 74 - }; 75 - }; 76 - 77 - &sdhci0 { 78 - status = "okay"; 79 - }; 80 - 81 - &uart0 { 82 - status = "okay"; 83 - }; 84 - 85 - &uart1 { 86 - status = "okay"; 87 - }; 88 - 89 - &usb0 { 90 - status = "okay"; 91 - dr_mode = "host"; 92 - }; 93 - 94 - &can0 { 95 - status = "okay"; 96 - }; 97 - 98 - &i2c0 { 99 - status = "okay"; 100 - clock-frequency = <400000>; 101 - 102 - stlm75@49 { 103 - status = "okay"; 104 - compatible = "lm75"; 105 - reg = <0x49>; 106 - }; 107 - 108 - accelerometer@53 { 109 - compatible = "adi,adxl345", "adxl345", "adi,adxl34x", "adxl34x"; 110 - reg = <0x53>; 111 - interrupt-parent = <&intc>; 112 - interrupts = <0x0 0x1e 0x4>; 113 14 }; 114 15 };
+1 -1
arch/arm/boot/dts/zynq-zybo-z7.dts
··· 25 25 gpio-leds { 26 26 compatible = "gpio-leds"; 27 27 28 - ld4 { 28 + led-ld4 { 29 29 label = "zynq-zybo-z7:green:ld4"; 30 30 gpios = <&gpio0 7 GPIO_ACTIVE_HIGH>; 31 31 };