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

ARM: dts: aspeed: Common dtsi for Facebook AST2400 Network BMCs

This common descirption is included by all Facebook AST2400 Network BMC
platforms to minimize duplicated device entries across Facebook Network
BMC device trees.

Signed-off-by: Tao Ren <rentao.bupt@gmail.com>
Reviewed-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Joel Stanley <joel@jms.id.au>
Link: https://lore.kernel.org/r/20201111232330.30843-2-rentao.bupt@gmail.com
Signed-off-by: Joel Stanley <joel@jms.id.au>

authored by

Tao Ren and committed by
Joel Stanley
800b92ef c74da5cf

+117
+117
arch/arm/boot/dts/ast2400-facebook-netbmc-common.dtsi
··· 1 + // SPDX-License-Identifier: GPL-2.0+ 2 + // Copyright (c) 2020 Facebook Inc. 3 + /dts-v1/; 4 + 5 + #include "aspeed-g4.dtsi" 6 + 7 + / { 8 + aliases { 9 + /* 10 + * Override the default uart aliases to avoid breaking 11 + * the legacy applications. 12 + */ 13 + serial0 = &uart5; 14 + serial1 = &uart1; 15 + serial2 = &uart3; 16 + serial3 = &uart4; 17 + }; 18 + 19 + memory@40000000 { 20 + reg = <0x40000000 0x20000000>; 21 + }; 22 + }; 23 + 24 + &wdt1 { 25 + status = "okay"; 26 + aspeed,reset-type = "system"; 27 + }; 28 + 29 + &fmc { 30 + status = "okay"; 31 + flash@0 { 32 + status = "okay"; 33 + m25p,fast-read; 34 + label = "spi0.0"; 35 + #include "facebook-bmc-flash-layout.dtsi" 36 + }; 37 + }; 38 + 39 + &uart1 { 40 + status = "okay"; 41 + pinctrl-names = "default"; 42 + pinctrl-0 = <&pinctrl_txd1_default 43 + &pinctrl_rxd1_default>; 44 + }; 45 + 46 + &uart3 { 47 + status = "okay"; 48 + pinctrl-names = "default"; 49 + pinctrl-0 = <&pinctrl_txd3_default 50 + &pinctrl_rxd3_default>; 51 + }; 52 + 53 + &uart4 { 54 + status = "okay"; 55 + pinctrl-names = "default"; 56 + pinctrl-0 = <&pinctrl_txd4_default 57 + &pinctrl_rxd4_default 58 + &pinctrl_ndts4_default>; 59 + }; 60 + 61 + &uart5 { 62 + status = "okay"; 63 + }; 64 + 65 + &mac1 { 66 + status = "okay"; 67 + pinctrl-names = "default"; 68 + pinctrl-0 = <&pinctrl_rgmii2_default &pinctrl_mdio2_default>; 69 + }; 70 + 71 + &i2c0 { 72 + status = "okay"; 73 + }; 74 + 75 + &i2c1 { 76 + status = "okay"; 77 + }; 78 + 79 + &i2c2 { 80 + status = "okay"; 81 + }; 82 + 83 + &i2c3 { 84 + status = "okay"; 85 + }; 86 + 87 + &i2c4 { 88 + status = "okay"; 89 + }; 90 + 91 + &i2c5 { 92 + status = "okay"; 93 + }; 94 + 95 + &i2c6 { 96 + status = "okay"; 97 + }; 98 + 99 + &i2c7 { 100 + status = "okay"; 101 + }; 102 + 103 + &i2c8 { 104 + status = "okay"; 105 + }; 106 + 107 + &i2c11 { 108 + status = "okay"; 109 + }; 110 + 111 + &i2c12 { 112 + status = "okay"; 113 + }; 114 + 115 + &vhub { 116 + status = "okay"; 117 + };