aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/files-5.4/arch/arm
Commit message (Collapse)AuthorAgeFilesLines
* ipq806x: move serial0 to DTSI filesAdrian Schmutzler2020-07-0616-14/+12
| | | | | | | | | | | | | | All device DTS files in the target set the serial0 property to the same value (*). So, let's move the definitions to the DTSI files. That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi). * The only exception is ipq8064-db149, which defines "serial0 = &uart2;", but inside a block called "alias" instead of "aliases". It must be assumed that this is broken anyway, so we don't touch it here. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: move stdout-path to DTSI filesAdrian Schmutzler2020-07-0617-38/+16
| | | | | | | | | All device DTS files in the target set the stdout-path to the same value. So, let's move the definitions to the DTSI files. That's also where the kernel defines it (qcom-ipq8064-v1.0.dtsi). Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: disentangle and clean up SoC DTSI filesAdrian Schmutzler2020-07-064-64/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far, the DTSI files on ipq806x had a linear inheritance: qcom-ipq8064.dtsi v qcom-ipq8064-v1.0.dtsi v qcom-ipq8064-v2.0.dtsi v qcom-ipq8065.dtsi This poses problems when one wants to set something that is specific to an architecture closer to the top of the tree. In this patch, we remove the chain-like inheritance and have all other files derived from qcom-ipq8064.dtsi (changing this name to something more generic is not possible due to upstream use). The removal of inheritance will require a few entries to be copied from qcom-ipq8064-v2.0.dtsi to qcom-ipq8065.dtsi. However, it also opens an opportunity for some clean-up: - Many definitions can be improved by just using the innermost labels. - Instead of disabling the CPU_SPC node for ipq8065, it is now off by default and enabled where needed. - Instead of patching phy-tx0-term-offset into qcom-ipq8064.dtsi and then having it changed for qcom-ipq8064-v2.0/qcom-ipq8065, just have the appropriate settings done in the lower DTSI files directly. - For the opp_table0 adjustments for ipq8065, just redefine what's changed, but don't add all the untouched properties again. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: move common pinmux nodes to SoC DTSISungbo Eo2020-07-0615-603/+61
| | | | | | | | | | | | | | | | As almost same pinmux nodes are repeated in each device dts, let's define them once in the ipq8064 dtsi and remove the rest. * uart0_pins : Did not touch. * i2c4_pins : This node seems to be not used at all in dts. Added the most common form in the dtsi. Did not touch rpm_pins. * spi_pins : The common mux node is already present in the dtsi. Removed the duplicate nodes from dts. * nand_pins : Moved the entire node. * mdio0_pins : Moved the common mux node. * rgmii2_pins: Moved the common mux node. "pins" property is overrided in ap161. Signed-off-by: Sungbo Eo <mans0n@gorani.run>
* ipq806x: add newline at the end of qcom-ipq8064-v1.0.dtsiAdrian Schmutzler2020-03-051-1/+1
| | | | | | | The file does not have a newline at the end. Add it to apply to common style. Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
* ipq806x: move mdio node to ipq8064 dtsAnsuel Smith2020-03-0315-540/+410
| | | | | | | As mdio0 is used in every dts move it to general ipq8064 dts and use label to set device specific definition. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: rework dts to use labelAnsuel Smith2020-03-0313-2695/+2698
| | | | | | We should use label instead of redefine the node. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: remove wrong compatible from timer nodeAnsuel Smith2020-03-031-2/+1
| | | | | | This compatible definition deprecated long ago. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: use mdio dedicated driverAnsuel Smith2020-03-0314-70/+137
| | | | | | | Enable kernel config flag Convert all dts to use the new mdio driver Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: correct wrong node in r7800 dtsAnsuel Smith2020-03-031-5/+7
| | | | | | A mux node was missing in the gpio node of the r7800 dts. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: use correct definition for nand-controller nodeAnsuel Smith2020-03-0313-22/+22
| | | | | | From kernel Documentation this should be called nand-controller Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: include ipq806x-v1.0 dtsiAnsuel Smith2020-03-031-0/+1
| | | | | | | Since this dtsi now have wrong definition in the upstream version, include it to overwrite and remove any problem. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: remove skeleton definitionAnsuel Smith2020-03-031-4/+7
| | | | | | This was already deprecated. With kernel 5.4 it has been removed. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
* ipq806x: copy files to kernel 5.4Ansuel Smith2020-03-0317-0/+7217
Copy files to kernel 5.4 to start porting. Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>